summaryrefslogtreecommitdiff
path: root/libraries/ring-daemon/patches/namedirectory.cpp.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ring-daemon/patches/namedirectory.cpp.diff')
-rw-r--r--libraries/ring-daemon/patches/namedirectory.cpp.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/ring-daemon/patches/namedirectory.cpp.diff b/libraries/ring-daemon/patches/namedirectory.cpp.diff
new file mode 100644
index 0000000000..1657a5fb71
--- /dev/null
+++ b/libraries/ring-daemon/patches/namedirectory.cpp.diff
@@ -0,0 +1,15 @@
+--- ring-daemon-4.0.0/src/ringdht/namedirectory.cpp.orig 2017-07-19 23:27:21.000000000 +0200
++++ ring-daemon-4.0.0/src/ringdht/namedirectory.cpp 2017-08-01 15:50:13.311715765 +0200
+@@ -90,9 +90,9 @@
+ size_t getContentLength(restbed::Response& reply)
+ {
+ size_t length = 0;
+-#ifndef RESTBED_OLD_API
+- length =
+-#endif
++//#ifndef RESTBED_OLD_API
++// length =
++//#endif
+ reply.get_header("Content-Length", length);
+ return length;
+ }