/[monit]/monit/status.c
ViewVC logotype

Diff of /monit/status.c

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

revision 1.15 by chopp, Wed Oct 23 14:01:26 2002 UTC revision 1.16 by chopp, Fri Nov 8 15:41:14 2002 UTC
# Line 197  static int remote_status(Process_T p, ss Line 197  static int remote_status(Process_T p, ss
197      if (s<0) {      if (s<0) {
198    
199        fprintf(stdout,        fprintf(stdout,
200                "Cannot connect to monit server to get extended process data.\n");                "Cannot connect to monit server to get"
201                  " extended process data.\n");
202        local_status(p);        local_status(p);
203    
204        return FALSE;        return FALSE;
# Line 226  static int remote_status(Process_T p, ss Line 227  static int remote_status(Process_T p, ss
227          }          }
228    
229          send_ssl_socket(ssl, req, sizeof(req));          send_ssl_socket(ssl, req, sizeof(req));
         
230          if(0>(n= recv_ssl_socket(ssl, buf, STRLEN))) {          if(0>(n= recv_ssl_socket(ssl, buf, STRLEN))) {
231                        
232            local_status(p);            local_status(p);

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