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:38:22 +0200 |
commit | c3355c014139bb65f869493365296922a3427c49 (patch) | |
tree | 44863e21fb850140aa569cb8d6b2a3a4bd558e4e | |
parent | bf0a318aca635a3122e1743f42df727b012414be (diff) | |
download | ktorrent-c3355c014139bb65f869493365296922a3427c49.tar.gz ktorrent-c3355c014139bb65f869493365296922a3427c49.zip |
Fix missing return
This resolves Bug 2432
Signed-off-by: François Andriot <francois.andriot@free.fr>
(cherry picked from commit f420bad7c2d57085ca2bd7c767575e29ae4c4554)
-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> |