summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-22 07:35:15 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-22 07:35:15 +0000
commit55b9b1299669b7e66d0a6d06a0709192bd414240 (patch)
tree60eed37953f9b2ac61bc268594f039ae043d6d4e
parent51bb02e3cdb7ddf8d19120804d2c13c7acebe9ce (diff)
downloadrsyslog-55b9b1299669b7e66d0a6d06a0709192bd414240.tar.gz
rsyslog-55b9b1299669b7e66d0a6d06a0709192bd414240.tar.xz
rsyslog-55b9b1299669b7e66d0a6d06a0709192bd414240.zip
removed no longer needed code
-rw-r--r--syslogd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/syslogd.c b/syslogd.c
index e772e13d..294187d9 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -3669,13 +3669,6 @@ int realMain(int argc, char **argv)
break;
case 'r': /* accept remote messages */
#ifdef SYSLOG_INET
-#if 0
- AcceptRemote = 1;
- if(optarg == NULL)
- LogPort = "0";
- else
- LogPort = optarg;
-#else
if(iCompatibilityMode < 3) {
uchar line[30];
@@ -3686,7 +3679,6 @@ int realMain(int argc, char **argv)
} else
fprintf(stderr,
"-r option only supported in compatibility modes 0 to 2 - ignored\n");
-#endif
#else
fprintf(stderr, "rsyslogd: -r not valid - not compiled with network support\n");
#endif