summaryrefslogtreecommitdiff
path: root/net/rwhois/files/patch-common-rw_log.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-14 15:46:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-14 15:46:02 +0000
commit54edc6cde99aac9f05a305076086f9cebbf272cd (patch)
tree7f545a1eb7ffb2a9e0c4873271106c1e02940eb1 /net/rwhois/files/patch-common-rw_log.c
parent- Update to 2.0.1 (diff)
- Update to 1.5.9.3
PR: ports/79908 Submitted by: Johan van Selst <johans@stack.nl>
Notes
Notes: svn path=/head/; revision=133342
Diffstat (limited to 'net/rwhois/files/patch-common-rw_log.c')
-rw-r--r--net/rwhois/files/patch-common-rw_log.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/net/rwhois/files/patch-common-rw_log.c b/net/rwhois/files/patch-common-rw_log.c
deleted file mode 100644
index 3807b136a551..000000000000
--- a/net/rwhois/files/patch-common-rw_log.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- common/rw_log.c.orig Tue Oct 28 02:28:43 2003
-+++ common/rw_log.c Tue Oct 28 02:30:14 2003
-@@ -17,13 +17,10 @@
- #include "types.h"
-
- void
--log(va_alist)
-- va_dcl
-+log(internal_log_levels level, int section, char *format, ...)
- {
- va_list ap;
-- internal_log_levels level;
- FILE *fp;
-- char *format;
- char *filename;
- char *hostname;
- char message[MAX_LINE];
-@@ -31,13 +28,9 @@
- char *section_name;
- int fd;
- int use_syslog;
-- int section;
- int syslog_level;
-
-- va_start(ap);
-- level = (internal_log_levels) va_arg(ap, int);
-- section = (int) va_arg(ap, int);
-- format = va_arg(ap, char*);
-+ va_start(ap, format);
-
- /* verbosity sets the level at which we ignore log messages */
- if (level > get_verbosity())
-@@ -142,4 +135,5 @@
-
- fclose(fp);
- }
-+ va_end(ap);
- }