summaryrefslogtreecommitdiff
path: root/log
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-03-27 12:04:24 +0000
committerJohn Crispin <blogic@openwrt.org>2014-03-27 13:13:16 +0000
commit1d9d2e6ae99c9ba72d1bc40e554d5f422c9b9196 (patch)
treedb1ee99857dc463e5be29cb03607d4c5b049169a /log
parent3a51a879250221c60736f19eb0ab4d0e94326342 (diff)
downloadubox-1d9d2e6ae99c9ba72d1bc40e554d5f422c9b9196.tar.gz
log: remove superflous client_close call
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'log')
-rw-r--r--log/logd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/log/logd.c b/log/logd.c
index 5c614f6..f61e666 100644
--- a/log/logd.c
+++ b/log/logd.c
@@ -58,12 +58,11 @@ client_close(struct ustream *s)
static void
client_notify_write(struct ustream *s, int bytes)
{
- client_close(s);
}
static void client_notify_state(struct ustream *s)
{
- return client_close(s);
+ client_close(s);
}
static int