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


Origin commit data
------------------
Commit: 4a11c0e608
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-02-16 (Wed, 16 Feb 2011)

Origin message was:
------------------
-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
This commit is contained in:
Jacek Jendrzej
2011-02-16 14:35:56 +00:00
parent a2c4dea326
commit f1db3f1c08

View File

@@ -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 */