summaryrefslogtreecommitdiff
path: root/pop3d
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-02-03 15:33:56 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-02-03 15:33:56 +0000
commit0b9539705086d1004e4484019858e78bf5a9ce9e (patch)
treeaada2f28602643044389d268aa0a796025651ff5 /pop3d
parentcd4da46dda875cdab25cdb342dd5e6b77b55175a (diff)
downloadmailutils-0b9539705086d1004e4484019858e78bf5a9ce9e.tar.gz
mailutils-0b9539705086d1004e4484019858e78bf5a9ce9e.tar.bz2
(pop3d_abquit): Added missing argument to syslog
Diffstat (limited to 'pop3d')
-rw-r--r--pop3d/extra.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pop3d/extra.c b/pop3d/extra.c
index 52b3580b9..5b502bfde 100644
--- a/pop3d/extra.c
+++ b/pop3d/extra.c
@@ -124,7 +124,7 @@ pop3d_abquit (int reason)
default:
pop3d_outf ("-ERR Quitting (reason unknown)\r\n");
- syslog (LOG_ERR, _("Quitting (numeric reason %d)"));
+ syslog (LOG_ERR, _("Quitting (numeric reason %d)"), reason);
break;
}
@@ -163,7 +163,7 @@ pop3d_init_tls_server ()
if (stream_open (stream))
{
- const char *p;
+ char *p;
stream_strerror (stream, &p);
syslog (LOG_ERR, _("cannot open TLS stream: %s"), p);
return 0;
@@ -224,7 +224,7 @@ pop3d_outf (const char *fmt, ...)
free (buf);
if (rc)
{
- const char *p;
+ char *p;
if (stream_strerror (ostream, &p))
p = strerror (errno);
@@ -247,7 +247,7 @@ pop3d_readline (char *buffer, size_t size)
if (rc)
{
- const char *p;
+ char *p;
if (stream_strerror (ostream, &p))
p = strerror (errno);

Return to:

Send suggestions and report system problems to the System administrator.