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

Diff of /monit/protocols/nntp.c

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

revision 1.18 by hauk, Wed Oct 19 00:50:38 2005 UTC revision 1.19 by martinp, Mon Oct 31 22:43:33 2005 UTC
# Line 63  int check_nntp(Socket_T s) { Line 63  int check_nntp(Socket_T s) {
63      return FALSE;      return FALSE;
64    }    }
65        
   /* Clear any extra data read from the server, such as banners */  
   socket_reset(s);  
   
66    if(socket_print(s, "QUIT\r\n") < 0) {    if(socket_print(s, "QUIT\r\n") < 0) {
67      log("NNTP: error sending data -- %s\n", STRERROR);      log("NNTP: error sending data -- %s\n", STRERROR);
68      return FALSE;      return FALSE;

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