From e1e371b7079da676f811a467deb497176e6e9eac Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 16 May 2005 18:21:37 +0000 Subject: - Update to 0.4.0 PR: ports/81120 Submitted by: Ports Fury --- devel/libopendaap/files/patch-client.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 devel/libopendaap/files/patch-client.c (limited to 'devel/libopendaap/files/patch-client.c') 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); -- cgit v1.2.3