aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-04-15 17:21:42 +0200
committertomsmeding <tom.smeding@gmail.com>2017-04-15 17:21:42 +0200
commit393b27c556008d1ae4eaa7438fa8a376202b1c88 (patch)
tree70614316fc3b2947b08f1b948c5d061978eb03d3
parent40bb947cd10f50d13423c5f16cfd6a36927dd209 (diff)
server: Fix
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index 82d875b..622e1b9 100644
--- a/main.c
+++ b/main.c
@@ -123,8 +123,7 @@ static bool server_socket_callback(int fd){
}
static bool timeout_callback(int fd){
- net_send_raw_text(fd,"_push ping\n",11);
- return false; // We aren't going to get closure info from a send()
+ return net_send_raw_text(fd,"_push ping\n",11);
}
#ifndef __APPLE__