summaryrefslogtreecommitdiff
path: root/devel/libopendaap/files/patch-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libopendaap/files/patch-client.c')
-rw-r--r--devel/libopendaap/files/patch-client.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/libopendaap/files/patch-client.c b/devel/libopendaap/files/patch-client.c
new file mode 100644
index 000000000000..02a4f926df34
--- /dev/null
+++ b/devel/libopendaap/files/patch-client.c
@@ -0,0 +1,28 @@
+--- client.c.orig Thu May 12 15:46:29 2005
++++ client.c Mon May 16 19:20:04 2005
+@@ -1380,10 +1380,10 @@
+
+ HTTP_Connection *http_connection;
+
+- if (strlen(songformat) > 4) return -1;
+-
+ HTTP_GetResult *httpRes;
+
++ if (strlen(songformat) > 4) return -1;
++
+ if (pCHThis->version_major != 3)
+ {
+ buf = safe_sprintf(songUrl_42, databaseid, songid, songformat,
+@@ -1643,10 +1643,11 @@
+ static void AsyncWaitUpdate(void *pv_pCHThis, void *unused)
+ {
+ DAAP_SClientHost *pCHThis = (DAAP_SClientHost*)pv_pCHThis;
+- TRACE("()\n");
+ char hash[33] = {0};
+ char updateUrl[] = "/update?session-id=%i&revision-number=%i&delta=%i";
+ char *buf;
++
++ TRACE("()\n");
+
+ buf = safe_sprintf(updateUrl, pCHThis->sessionid, pCHThis->revision_number,
+ pCHThis->revision_number);