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

Diff of /monit/status.c

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

revision 1.31 by martinp, Sun Jul 6 18:29:38 2003 UTC revision 1.32 by hauk, Thu Jul 24 00:35:25 2003 UTC
# Line 247  static int remote_status(Service_T s) { Line 247  static int remote_status(Service_T s) {
247      /* If a monit daemon exist we request status information from the server */      /* If a monit daemon exist we request status information from the server */
248            
249      Socket_T sock= socket_new(Run.bind_addr?Run.bind_addr:"localhost",      Socket_T sock= socket_new(Run.bind_addr?Run.bind_addr:"localhost",
250                                Run.httpdport, SOCK_STREAM, Run.httpdssl);                                Run.httpdport, SOCKET_TCP, Run.httpdssl);
251      if(!sock) {      if(!sock) {
252    
253        fprintf(stdout,        fprintf(stdout,

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

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