diff options
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | 168 | static 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 | 209 | static const int BUFSIZE = 1023; |
210 | static int serveConnection (int conn) | 210 | static int serveConnection (int conn) |
211 | { | 211 | { |
212 | char buf[ BUFSIZE + 1 ]; | 212 | char buf[ BUFSIZE + 1 ]; |