|
Line 0
Link Here
|
|
|
1 |
--- client.c.orig Thu May 12 15:46:29 2005 |
| 2 |
+++ client.c Mon May 16 19:20:04 2005 |
| 3 |
@@ -1380,10 +1380,10 @@ |
| 4 |
|
| 5 |
HTTP_Connection *http_connection; |
| 6 |
|
| 7 |
- if (strlen(songformat) > 4) return -1; |
| 8 |
- |
| 9 |
HTTP_GetResult *httpRes; |
| 10 |
|
| 11 |
+ if (strlen(songformat) > 4) return -1; |
| 12 |
+ |
| 13 |
if (pCHThis->version_major != 3) |
| 14 |
{ |
| 15 |
buf = safe_sprintf(songUrl_42, databaseid, songid, songformat, |
| 16 |
@@ -1643,10 +1643,11 @@ |
| 17 |
static void AsyncWaitUpdate(void *pv_pCHThis, void *unused) |
| 18 |
{ |
| 19 |
DAAP_SClientHost *pCHThis = (DAAP_SClientHost*)pv_pCHThis; |
| 20 |
- TRACE("()\n"); |
| 21 |
char hash[33] = {0}; |
| 22 |
char updateUrl[] = "/update?session-id=%i&revision-number=%i&delta=%i"; |
| 23 |
char *buf; |
| 24 |
+ |
| 25 |
+ TRACE("()\n"); |
| 26 |
|
| 27 |
buf = safe_sprintf(updateUrl, pCHThis->sessionid, pCHThis->revision_number, |
| 28 |
pCHThis->revision_number); |