/[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.22 by hauk, Sat Oct 29 00:24:33 2005 UTC revision 1.23 by martinp, Mon Oct 31 22:43:33 2005 UTC
# Line 64  int check_ftp(Socket_T s) { Line 64  int check_ftp(Socket_T s) {
64      return FALSE;      return FALSE;
65    }    }
66    
   /* Clear any extra data read from the server, such as banners */  
   socket_reset(s);  
     
67    if(socket_print(s, "QUIT\r\n") < 0) {    if(socket_print(s, "QUIT\r\n") < 0) {
68      log("FTP: error sending data -- %s\n", STRERROR);      log("FTP: error sending data -- %s\n", STRERROR);
69      return FALSE;      return FALSE;

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

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