diff options
-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 a4beefd..0a909b8 100644 --- a/libpiano/src/main.c +++ b/libpiano/src/main.c @@ -74,6 +74,7 @@ void PianoInit (PianoHandle_t *ph) { 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); + curl_easy_setopt (ph->curlHandle, CURLOPT_TIMEOUT, 60); } /* free complete search result |