summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-08-02 17:02:16 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-08-02 17:02:16 +0000
commite0414c4b9ed88a39e08870030c673bec9a3f1d4b (patch)
treef79681998be0d6c57811959a6462365785600b44 /omfwd.c
parentb727710289a6f535c8d2c17caa4c4c11d8c9cd8b (diff)
downloadrsyslog-e0414c4b9ed88a39e08870030c673bec9a3f1d4b.tar.gz
rsyslog-e0414c4b9ed88a39e08870030c673bec9a3f1d4b.tar.xz
rsyslog-e0414c4b9ed88a39e08870030c673bec9a3f1d4b.zip
cleanup (removed unused code)
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/omfwd.c b/omfwd.c
index c6a6ebd8..089749bf 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -74,19 +74,6 @@
*/
#endif
-/*
- * This table contains plain text for h_errno errors used by the
- * net subsystem.
- */
-static const char *sys_h_errlist[] = {
- "No problem", /* NETDB_SUCCESS */
- "Authoritative answer: host not found", /* HOST_NOT_FOUND */
- "Non-authoritative answer: host not found, or serverfail", /* TRY_AGAIN */
- "Non recoverable errors", /* NO_RECOVERY */
- "Valid name, no data record of requested type", /* NO_DATA */
- "no address, look for MX record" /* NO_ADDRESS */
- };
-
/* internal structures
*/
DEF_OMOD_STATIC_DATA
@@ -549,7 +536,6 @@ static char *getFwdSyslogPt(instanceData *pData)
static rsRetVal doTryResume(instanceData *pData)
{
DEFiRet;
- time_t fwd_suspend;
struct addrinfo *res;
struct addrinfo hints;
unsigned e;