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

Diff of /monit/protocols/imap.c

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

revision 1.15 by hauk, Sun Dec 12 23:45:09 2004 UTC revision 1.16 by hauk, Sun Dec 19 00:31:51 2004 UTC
# Line 61  int check_imap(Socket_T s) { Line 61  int check_imap(Socket_T s) {
61      return FALSE;      return FALSE;
62    }    }
63    
64    Util_chomp(buf, STRLEN);    Util_chomp(buf);
65        
66    if(strncasecmp(buf, ok, strlen(ok)) != 0) {    if(strncasecmp(buf, ok, strlen(ok)) != 0) {
67      log("IMAP error: %s\n", buf);      log("IMAP error: %s\n", buf);
# Line 78  int check_imap(Socket_T s) { Line 78  int check_imap(Socket_T s) {
78      return FALSE;      return FALSE;
79    }    }
80    
81    Util_chomp(buf, STRLEN);    Util_chomp(buf);
82        
83    if(strncasecmp(buf, bye, strlen(bye)) != 0) {    if(strncasecmp(buf, bye, strlen(bye)) != 0) {
84      log("IMAP error: %s\n", buf);      log("IMAP error: %s\n", buf);

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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