You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
521 B
14 lines
521 B
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>
|