Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
x3270
gcc-322.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc-322.diff of Package x3270
--- x3270-3.3/telnet.c.ORG 2005-06-16 16:32:42.000000000 +0200 +++ x3270-3.3/telnet.c 2005-06-16 17:06:56.988963537 +0200 @@ -431,7 +431,7 @@ if (hp == (struct hostent *) 0) { haddr.sin.sin_family = AF_INET; haddr.sin.sin_addr.s_addr = inet_addr(host); - if (haddr.sin.sin_addr.s_addr == (unsigned long)-1) { + if (haddr.sin.sin_addr.s_addr == INADDR_NONE) { popup_an_error("Unknown host:\n%s", hostname); return -1; --- tcl3270-3.3/telnet.c.ORG 2005-06-16 16:32:42.000000000 +0200 +++ tcl3270-3.3/telnet.c 2005-06-16 17:11:25.798963537 +0200 @@ -431,7 +431,7 @@ if (hp == (struct hostent *) 0) { haddr.sin.sin_family = AF_INET; haddr.sin.sin_addr.s_addr = inet_addr(host); - if (haddr.sin.sin_addr.s_addr == (unsigned long)-1) { + if (haddr.sin.sin_addr.s_addr == INADDR_NONE) { popup_an_error("Unknown host:\n%s", hostname); return -1; --- s3270-3.3/telnet.c.ORG 2005-06-16 17:17:48.000000000 +0200 +++ s3270-3.3/telnet.c 2005-06-16 17:18:18.738963537 +0200 @@ -431,7 +431,7 @@ if (hp == (struct hostent *) 0) { haddr.sin.sin_family = AF_INET; haddr.sin.sin_addr.s_addr = inet_addr(host); - if (haddr.sin.sin_addr.s_addr == (unsigned long)-1) { + if (haddr.sin.sin_addr.s_addr == INADDR_NONE) { popup_an_error("Unknown host:\n%s", hostname); return -1;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor