From 4a11c0e608c775aa984d27fd4123c6d0b0934066 Mon Sep 17 00:00:00 2001 From: satbaby Date: Wed, 16 Feb 2011 14:35:56 +0000 Subject: [PATCH] -audioplayer change curl timeout to 2sec git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1161 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/audioplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index ca90ac890..7eb9fc06d 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -984,7 +984,7 @@ void CAudioPlayerGui::addUrl2Playlist(const char *url, const char *name, const t void CAudioPlayerGui::processPlaylistUrl(const char *url, const char *name, const time_t tim) { CURL *curl_handle; struct MemoryStruct chunk; - const long int GET_PLAYLIST_TIMEOUT = 10; + const long int GET_PLAYLIST_TIMEOUT = 2; printf("CAudioPlayerGui::processPlaylistUrl (%s, %s)\n", url, name); chunk.memory=NULL; /* we expect realloc(NULL, size) to work */