Parent Directory | Revision Log | Patch
revision 1.18 by martinp, Thu Jan 6 20:51:50 2005 UTC | revision 1.19 by hauk, Sat Sep 10 12:34:54 2005 UTC | |
---|---|---|
# | Line 67 int check_ftp(Socket_T s) { | Line 67 int check_ftp(Socket_T s) { |
67 | ||
68 | /* Read past banners */ | /* Read past banners */ |
69 | while(NULL != socket_readln(s, buf, STRLEN)) { | while(NULL != socket_readln(s, buf, STRLEN)) { |
70 | if(Util_startsWith(buf, "220")) continue; | if(!Util_startsWith(buf, "220")) break; |
71 | } | } |
72 | ||
73 | if(socket_print(s, "QUIT\r\n") < 0) { | if(socket_print(s, "QUIT\r\n") < 0) { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |