summaryrefslogtreecommitdiff
path: root/net/rwhoisd/files/patch-server-notify.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
commit7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch)
tree22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /net/rwhoisd/files/patch-server-notify.c
parentNow buildable on 4.x, still broken on >= 5.x. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Diffstat (limited to 'net/rwhoisd/files/patch-server-notify.c')
-rw-r--r--net/rwhoisd/files/patch-server-notify.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/net/rwhoisd/files/patch-server-notify.c b/net/rwhoisd/files/patch-server-notify.c
deleted file mode 100644
index e4e71a95d91b..000000000000
--- a/net/rwhoisd/files/patch-server-notify.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- server/notify.c.orig Tue Oct 28 02:30:38 2003
-+++ server/notify.c Tue Oct 28 02:31:26 2003
-@@ -75,18 +75,13 @@
-
- /* log notify information */
- int
--log_entry(va_alist)
-- va_dcl
-+log_entry(char *filename, char *format, ...)
- {
- va_list ap;
- FILE *fp;
-- char *format;
-- char *filename;
- char *hostname;
-
-- va_start(ap);
-- filename = va_arg (ap, char*);
-- format = va_arg(ap, char*);
-+ va_start(ap, format);
-
- /* lock the file */
- fp = get_file_lock(filename, "a", 60);
-@@ -103,6 +98,7 @@
- fprintf(fp, " [%-15s] PID: %-8d", hostname, (int) getpid());
- vfprintf(fp, format, ap);
- fprintf(fp, "\n");
-+ va_end(ap);
-
- release_file_lock(filename, fp);
-