aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2004-09-02 22:22:17 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2004-09-02 22:22:17 +0000
commit192c35f6eb2bb85e28c697a45c7d80a43ec6e743 (patch)
treecca9dfaedbd20844b78eccf5e30b9d0f95b5975a /sysklogd
parent7eb79fff10915afc4d561a65e54851efa869db89 (diff)
downloadbusybox-192c35f6eb2bb85e28c697a45c7d80a43ec6e743.tar.gz
busybox-192c35f6eb2bb85e28c697a45c7d80a43ec6e743.tar.bz2
Tito writes:
The second patch contains: 1) a size optimization for adduser.c 2) removes a warning about an unused variable in syslogd.c if CONFIG_FEATURE_REMOTE_LOG is not set 3)cosmetic fixes for addgroup_full_usage and adduser_full_usage Ciao, Tito
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 741c80673..6e7652c00 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -386,7 +386,9 @@ static void logMessage(int pri, char *msg)
time_t now;
char *timestamp;
static char res[20] = "";
+#ifdef CONFIG_FEATURE_REMOTE_LOG
static char line[512];
+#endif
CODE *c_pri, *c_fac;
if (pri != 0) {