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

Diff of /monit/protocols/smtp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by hauk, Wed Oct 19 01:00:47 2005 UTC revision 1.25 by martinp, Mon Oct 31 22:43:33 2005 UTC
# Line 64  int check_smtp(Socket_T s) { Line 64  int check_smtp(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    /* Terminate the session */    /* Terminate the session */
68    if(socket_print(s, "QUIT\r\n") < 0) {    if(socket_print(s, "QUIT\r\n") < 0) {
69      log("SMTP: error sending data -- %s\n", STRERROR);      log("SMTP: error sending data -- %s\n", STRERROR);

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

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