summaryrefslogtreecommitdiff
path: root/packages/squeezeclient/files/varinit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squeezeclient/files/varinit.patch')
-rw-r--r--packages/squeezeclient/files/varinit.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/squeezeclient/files/varinit.patch b/packages/squeezeclient/files/varinit.patch
new file mode 100644
index 0000000000..5844dc67b5
--- /dev/null
+++ b/packages/squeezeclient/files/varinit.patch
@@ -0,0 +1,17 @@
+---
+ src/slimaudio/slimaudio_http.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: SlimProtoLib/src/slimaudio/slimaudio_http.c
+===================================================================
+--- SlimProtoLib.orig/src/slimaudio/slimaudio_http.c 2006-12-31 11:09:09.000000000 +0000
++++ SlimProtoLib/src/slimaudio/slimaudio_http.c 2006-12-31 11:16:37.000000000 +0000
+@@ -91,7 +91,7 @@ int slimaudio_http_close(slimaudio_t *au
+ static void *http_thread(void *ptr) {
+ slimaudio_t *audio = (slimaudio_t *) ptr;
+ #ifdef SLIMPROTO_DEBUG
+- int last_state;
++ int last_state=0;
+ #endif
+
+ pthread_mutex_lock(&audio->http_mutex);