diff options
author | François Andriot <francois.andriot@free.fr> | 2015-05-26 01:37:23 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-05-26 01:37:23 +0200 |
commit | f420bad7c2d57085ca2bd7c767575e29ae4c4554 (patch) | |
tree | fd948985e805a787dd542a178c3351ab8defc7a4 /plugins | |
parent | 16df23bc7278814ba964c47f4ea2142f10b2a533 (diff) | |
download | ktorrent-f420bad7c2d57085ca2bd7c767575e29ae4c4554.tar.gz ktorrent-f420bad7c2d57085ca2bd7c767575e29ae4c4554.zip |
Fix missing return
This resolves Bug 2432
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/upnp/upnpmcastsocket.cpp | 2 |
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> |