From c49db8c0830b5eb723e8b6d8e1c7e2203d694fa5 Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari Date: Tue, 19 May 2015 10:40:40 +0530 Subject: [PATCH] Removing runtime warnings --- src/lib_ccx/networking.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib_ccx/networking.c b/src/lib_ccx/networking.c index ee082130..25133718 100644 --- a/src/lib_ccx/networking.c +++ b/src/lib_ccx/networking.c @@ -150,12 +150,12 @@ int net_send_cc(const unsigned char *data, int len, void *private_data, struct c { if (rc < 0) mprint("write() error: %s", strerror(errno)); - return; + return rc; } /* nanosleep((struct timespec[]){{0, 100000000}}, NULL); */ /* Sleep(100); */ - return; + return rc; } /*