/[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.21 by hauk, Wed Oct 19 00:50:38 2005 UTC revision 1.22 by hauk, Sat Oct 29 00:24:33 2005 UTC
# Line 72  int check_ftp(Socket_T s) { Line 72  int check_ftp(Socket_T s) {
72      return FALSE;      return FALSE;
73    }    }
74    
75    if(socket_read(s, buf, STRLEN) <= 0) {    if(!socket_readln(s, buf, STRLEN)) {
76      log("FTP: error receiving data -- %s\n", STRERROR);      log("FTP: error receiving data -- %s\n", STRERROR);
77      return FALSE;      return FALSE;
78    }    }

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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