OSSP CVS Repository

ossp - Difference in ossp-pkg/petidomo/index.c versions 1.7 and 1.8
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/petidomo/index.c 1.7 -> 1.8

--- index.c      2001/01/18 20:30:50     1.7
+++ index.c      2001/01/19 14:56:33     1.8
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/index.c,v $
-   $Revision: 1.7 $
+   $Revision: 1.8 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -21,6 +21,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <dirent.h>
+#include <errno.h>
 
 #include "libtext/text.h"
 #include "petidomo.h"
@@ -53,7 +54,7 @@
 
     fh = vOpenMailer(envelope, address, NULL);
     if (fh == NULL) {
-        syslog(LOG_ERR, "Failed to send mail to \"%s\": %m", address);
+        syslog(LOG_ERR, "Failed to send mail to \"%s\": %s", address, strerror(errno));
         return -1;
     }
     fprintf(fh, "From: %s (Petidomo Mailing List Server)\n", from);

CVSTrac 2.0.1