mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Revert "kodi: add PR6376"
This reverts commit 10a557abf4f212ff7d5e519fdaf1c10131738681.
This commit is contained in:
parent
170252f647
commit
98da752a1d
@ -1,23 +0,0 @@
|
|||||||
From 3eec72d4fd109e9f153a375138c1a997bcf86d9a Mon Sep 17 00:00:00 2001
|
|
||||||
From: wsnipex <wsnipex@a1.net>
|
|
||||||
Date: Sun, 8 Feb 2015 14:15:49 +0100
|
|
||||||
Subject: [PATCH] [curl] don't return 0 in the write callback, it causes ftp
|
|
||||||
content lenght requests to fail
|
|
||||||
|
|
||||||
---
|
|
||||||
xbmc/filesystem/CurlFile.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp
|
|
||||||
index 7d68dab..e67d951 100644
|
|
||||||
--- a/xbmc/filesystem/CurlFile.cpp
|
|
||||||
+++ b/xbmc/filesystem/CurlFile.cpp
|
|
||||||
@@ -100,7 +100,7 @@ extern "C" size_t write_callback(char *buffer,
|
|
||||||
size_t nitems,
|
|
||||||
void *userp)
|
|
||||||
{
|
|
||||||
- if(userp == NULL) return 0;
|
|
||||||
+ if(userp == NULL) return size * nitems;
|
|
||||||
|
|
||||||
CCurlFile::CReadState *state = (CCurlFile::CReadState *)userp;
|
|
||||||
return state->WriteCallback(buffer, size, nitems);
|
|
Loading…
x
Reference in New Issue
Block a user