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

Diff of /monit/protocols/generic.c

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

revision 1.3 by martinp, Wed Oct 1 21:26:18 2003 UTC revision 1.4 by hauk, Tue Oct 7 23:40:52 2003 UTC
# Line 81  int check_generic(Socket_T s) { Line 81  int check_generic(Socket_T s) {
81                                    
82      } else if (g->expect != NULL) {      } else if (g->expect != NULL) {
83    
84        if(socket_readln(s, buf, STRLEN) <= 0) {        if(socket_readln(s, buf, STRLEN) == NULL) {
85                    
86          log("GENERIC: error receiving data -- %s\n", STRERROR);          log("GENERIC: error receiving data -- %s\n", STRERROR);
87          return FALSE;          return FALSE;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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