summaryrefslogtreecommitdiff
path: root/libexec/identd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-16 10:25:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-16 10:25:48 +0000
commitdfa8ced20dbdcadc73924aa3af010d16fd49b669 (patch)
tree174aab51fa3269dac34c040f2ac5099ca819b8bc /libexec/identd
parentc04681c0941b7185e7095e994f43417f91c741fb (diff)
ERROR2() is not used
Diffstat (limited to 'libexec/identd')
-rw-r--r--libexec/identd/error.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/libexec/identd/error.h b/libexec/identd/error.h
index c27ee5e823c..f7df430ba2e 100644
--- a/libexec/identd/error.h
+++ b/libexec/identd/error.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: error.h,v 1.3 2001/01/28 19:34:28 niklas Exp $*/
+/* $OpenBSD: error.h,v 1.4 2002/07/16 10:25:47 deraadt Exp $*/
/*
**
@@ -34,12 +34,4 @@
(printf("%d , %d : ERROR : UNKNOWN-ERROR\r\n", lport, fport), 0)), \
fflush(stdout), fflush(stderr), exit(1), 0)
-#define ERROR2(fmt,v1,v2) \
- ((syslog_flag ? (syslog(LOG_ERR, fmt, v1, v2),0) : 0), \
- (debug_flag ? (fprintf(stderr, "%d , %d : ERROR : X-DBG : ", \
- lport, fport), \
- fprintf(stderr, fmt, v1, v2), perror(": "), 0) : \
- (printf("%d , %d : ERROR : UNKNOWN-ERROR\r\n", lport, fport), 0)), \
- fflush(stdout), fflush(stderr), exit(1), 0)
-
#endif