/[monit]/monit/protocols/ftp.c
ViewVC logotype

Diff of /monit/protocols/ftp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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) {

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26