diff options
Diffstat (limited to 'libpiano/src/main.c')
-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 |