summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2015-05-26 01:37:23 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-05-26 01:37:23 +0200
commitf420bad7c2d57085ca2bd7c767575e29ae4c4554 (patch)
treefd948985e805a787dd542a178c3351ab8defc7a4
parent16df23bc7278814ba964c47f4ea2142f10b2a533 (diff)
downloadktorrent-f420bad7.tar.gz
ktorrent-f420bad7.zip
Fix missing return
This resolves Bug 2432 Signed-off-by: François Andriot <francois.andriot@free.fr>
-rw-r--r--plugins/upnp/upnpmcastsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/upnp/upnpmcastsocket.cpp b/plugins/upnp/upnpmcastsocket.cpp
index 3b8be45..0172ed2 100644
--- a/plugins/upnp/upnpmcastsocket.cpp
+++ b/plugins/upnp/upnpmcastsocket.cpp
@@ -21,7 +21,7 @@
#include <kurl.h>
extern "C" {
#include <unistd.h>
- inline ssize_t mycread (int __fd, void *__buf, size_t __nbytes) { read(__fd, __buf, __nbytes); }
+ inline ssize_t mycread (int __fd, void *__buf, size_t __nbytes) { return read(__fd, __buf, __nbytes); }
};
#include <sys/socket.h>
#include <netinet/in.h>