aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream_http.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-10-26 12:56:10 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-10-26 12:56:10 +0000
commitf20de32d0d8cd4c1a2ea4d297777c9328bf92b4d (patch)
tree109eef62551e1b7c2067e61a43d39e393aaff9a2 /src/inputStream_http.c
parentd9c89943194f4ea7ed0197b9931cef7e635796f8 (diff)
downloadmpd-f20de32d0d8cd4c1a2ea4d297777c9328bf92b4d.tar.gz
mpd-f20de32d0d8cd4c1a2ea4d297777c9328bf92b4d.tar.xz
mpd-f20de32d0d8cd4c1a2ea4d297777c9328bf92b4d.zip
fix segfault when reconnecting to icecast server, this was due to error sending metadata and not checking afterward if connection is open still
git-svn-id: https://svn.musicpd.org/mpd/trunk@2349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputStream_http.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/inputStream_http.c b/src/inputStream_http.c
index 2e0755d96..353285ebd 100644
--- a/src/inputStream_http.c
+++ b/src/inputStream_http.c
@@ -44,7 +44,6 @@
#define HTTP_BUFFER_SIZE 131072
#define HTTP_PREBUFFER_SIZE (HTTP_BUFFER_SIZE >> 2)
-//#define HTTP_PREBUFFER_SIZE 0
#define HTTP_REDIRECT_MAX 10