diff options
| author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-23 17:05:45 +0200 | 
|---|---|---|
| committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-23 17:05:45 +0200 | 
| commit | f0bab69d9d09fb0a80091d813cc57a85fc3d8c61 (patch) | |
| tree | 1b3d556dcb8549879a5f56f55a17b7b3016f0f09 /libpiano/src | |
| parent | 332df81085e591c96eb84836514447a0868420f0 (diff) | |
| download | pianobar-f0bab69d9d09fb0a80091d813cc57a85fc3d8c61.tar.gz pianobar-f0bab69d9d09fb0a80091d813cc57a85fc3d8c61.tar.bz2 pianobar-f0bab69d9d09fb0a80091d813cc57a85fc3d8c61.zip | |
Set curl timeout to 60 seconds.
Diffstat (limited to 'libpiano/src')
| -rw-r--r-- | libpiano/src/main.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/libpiano/src/main.c b/libpiano/src/main.c index 14ff4c6..aaaacf9 100644 --- a/libpiano/src/main.c +++ b/libpiano/src/main.c @@ -62,6 +62,7 @@ void PianoInit (PianoHandle_t *ph) {  	/* FIXME: 64-bit may make this hack useless */  	snprintf (ph->routeId, sizeof (ph->routeId), "%07liP", time (NULL)>>8);  	curl_easy_setopt (ph->curlHandle, CURLOPT_USERAGENT, PACKAGE_STRING); +	curl_easy_setopt (ph->curlHandle, CURLOPT_CONNECTTIMEOUT, 60);  }  /*	free complete search result | 
