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

Diff of /monit/sendmail.c

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

revision 1.15 by hauk, Wed Jul 2 21:18:35 2003 UTC revision 1.16 by hauk, Thu Jul 24 00:35:25 2003 UTC
# Line 157  static int initialize_server() { Line 157  static int initialize_server() {
157    sigaction(SIGALRM, &sa, NULL);    sigaction(SIGALRM, &sa, NULL);
158    alarm(SMTP_TIMEOUT);    alarm(SMTP_TIMEOUT);
159    
160    S= socket_new(server, SMTP_PORT, SOCK_STREAM, FALSE);    S= socket_new(server, SMTP_PORT, SOCKET_TCP, FALSE);
161    if(!S) {    if(!S) {
162      log("Cannot open a connection to the mailserver '%s' -- %s\n",      log("Cannot open a connection to the mailserver '%s' -- %s\n",
163          server, STRERROR);          server, STRERROR);

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