log: remove superflous client_close call
authorJohn Crispin <blogic@openwrt.org>
Thu, 27 Mar 2014 12:04:24 +0000 (12:04 +0000)
committerJohn Crispin <blogic@openwrt.org>
Thu, 27 Mar 2014 13:13:16 +0000 (13:13 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
log/logd.c

index 5c614f6..f61e666 100644 (file)
@@ -58,12 +58,11 @@ client_close(struct ustream *s)
 static void
 client_notify_write(struct ustream *s, int bytes)
 {
 static void
 client_notify_write(struct ustream *s, int bytes)
 {
-       client_close(s);
 }
 
 static void client_notify_state(struct ustream *s)
 {
 }
 
 static void client_notify_state(struct ustream *s)
 {
-       return client_close(s);
+       client_close(s);
 }
 
 static int
 }
 
 static int