aboutsummaryrefslogtreecommitdiff
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index 4217c362f..114516e2f 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -165,7 +165,7 @@ static void logMessage (int pri, char *msg)
165#ifdef BB_FEATURE_REMOTE_LOG 165#ifdef BB_FEATURE_REMOTE_LOG
166 /* send message to remote logger */ 166 /* send message to remote logger */
167 if ( -1 != remotefd){ 167 if ( -1 != remotefd){
168#define IOV_COUNT 2 168static const int IOV_COUNT = 2;
169 struct iovec iov[IOV_COUNT]; 169 struct iovec iov[IOV_COUNT];
170 struct iovec *v = iov; 170 struct iovec *v = iov;
171 171
@@ -206,7 +206,7 @@ static void domark(int sig)
206 } 206 }
207} 207}
208 208
209#define BUFSIZE 1023 209static const int BUFSIZE = 1023;
210static int serveConnection (int conn) 210static int serveConnection (int conn)
211{ 211{
212 char buf[ BUFSIZE + 1 ]; 212 char buf[ BUFSIZE + 1 ];