diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-11-22 08:56:40 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-11-22 08:56:40 +0300 |
commit | 81ca3923a29ea9b67f7291be23b210019546aa5f (patch) | |
tree | fcebf0d426665b4f06e01168f27cd8f9ab8c50d8 /accel-pppd/logs/log_syslog.c | |
parent | 830c399cf126f6bf1e8dfa1ad919a3ce8e346c5d (diff) | |
download | accel-ppp-81ca3923a29ea9b67f7291be23b210019546aa5f.tar.gz accel-ppp-81ca3923a29ea9b67f7291be23b210019546aa5f.zip |
remove trailing whitespaces
Diffstat (limited to 'accel-pppd/logs/log_syslog.c')
-rw-r--r-- | accel-pppd/logs/log_syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/logs/log_syslog.c b/accel-pppd/logs/log_syslog.c index b0b079a..36c8775 100644 --- a/accel-pppd/logs/log_syslog.c +++ b/accel-pppd/logs/log_syslog.c @@ -55,7 +55,7 @@ static void set_hdr(struct log_msg_t *msg, struct ap_session *ses) if (ses) { if (snprintf(msg->hdr->msg, LOG_CHUNK_SIZE, "%s:%s: ", ses->ifname, ses->username ? ses->username : "")) strcpy(msg->hdr->msg + LOG_CHUNK_SIZE - 3, ": "); - } else + } else msg->hdr->msg[0] = 0; } @@ -123,7 +123,7 @@ static void syslog_close(struct triton_context_t *ctx) if (sleeping) { triton_context_unregister(&syslog_ctx); } else - need_close = 1; + need_close = 1; spin_unlock(&queue_lock); } |