Parent Directory | Revision Log | Patch
revision 1.3 by gray, Sun Apr 6 20:37:22 2003 UTC | revision 1.4 by gray, Sun Jul 20 08:34:52 2003 UTC | |
---|---|---|
# | Line 142 connect_through_socks_proxy(int sd, char | Line 142 connect_through_socks_proxy(int sd, char |
142 | ||
143 | for (i = 0; host[i] != '\0'; i++) | for (i = 0; host[i] != '\0'; i++) |
144 | { | { |
145 | if (isdigit(host[i]) || host[i] == '.') | if (isdigit((u_char)host[i]) || host[i] == '.') |
146 | ip = 1; | ip = 1; |
147 | else | else |
148 | ip = 0; | ip = 0; |
# | Line 343 connect_through_socks_proxy(int sd, char | Line 343 connect_through_socks_proxy(int sd, char |
343 | ||
344 | for (i = 0; host[i] != '\0'; i++) | for (i = 0; host[i] != '\0'; i++) |
345 | { | { |
346 | if (isdigit(host[i]) || host[i] == '.') { | if (isdigit((u_char)host[i]) || host[i] == '.') { |
347 | ip = 1; /* IPv4 */ | ip = 1; /* IPv4 */ |
348 | } | } |
349 | else | else |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |