aboutsummaryrefslogtreecommitdiffstats
path: root/report.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-04-24 20:47:16 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-04-24 20:47:16 +0000
commit26f66a929674173cdbf6e132a683cf6e31f9bfd5 (patch)
treec2510b55112d5525f5776538952276bdbf25dbc1 /report.c
parentab82ac46fb9453629d525f1bfea616cbb9161ee0 (diff)
downloadfetchmail-26f66a929674173cdbf6e132a683cf6e31f9bfd5.tar.gz
fetchmail-26f66a929674173cdbf6e132a683cf6e31f9bfd5.tar.bz2
fetchmail-26f66a929674173cdbf6e132a683cf6e31f9bfd5.zip
This version compiles under AIX.
svn path=/trunk/; revision=976
Diffstat (limited to 'report.c')
-rw-r--r--report.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/report.c b/report.c
index e1e0b745..1e653646 100644
--- a/report.c
+++ b/report.c
@@ -160,7 +160,17 @@ error (status, errnum, message, va_alist)
#ifdef HAVE_VSYSLOG
vsyslog (priority, msg, args);
#else
+ {
+ char *a1 = va_arg(args, char *);
+ char *a2 = va_arg(args, char *);
+ char *a3 = va_arg(args, char *);
+ char *a4 = va_arg(args, char *);
+ char *a5 = va_arg(args, char *);
+ char *a6 = va_arg(args, char *);
+ char *a7 = va_arg(args, char *);
+ char *a8 = va_arg(args, char *);
syslog (priority, msg, a1, a2, a3, a4, a5, a6, a7, a8);
+ }
#endif
}
else
@@ -168,7 +178,17 @@ error (status, errnum, message, va_alist)
#ifdef HAVE_VSYSLOG
vsyslog (priority, message, args);
#else
+ {
+ char *a1 = va_arg(args, char *);
+ char *a2 = va_arg(args, char *);
+ char *a3 = va_arg(args, char *);
+ char *a4 = va_arg(args, char *);
+ char *a5 = va_arg(args, char *);
+ char *a6 = va_arg(args, char *);
+ char *a7 = va_arg(args, char *);
+ char *a8 = va_arg(args, char *);
syslog (priority, message, a1, a2, a3, a4, a5, a6, a7, a8);
+ }
#endif
}