X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fhttp.c;h=dd9924975e3f3b29f24385d0dc31bdeb98ce6233;hb=054375079c23e45e4cf05aef227f6ffaae73d926;hp=31088fd292bd6e926fe0561334e01084e6bb350a;hpb=80aac17453e0b57704212bc68ca006f900382f07;p=ppastats.git diff --git a/src/http.c b/src/http.c index 31088fd..dd99249 100644 --- a/src/http.c +++ b/src/http.c @@ -30,7 +30,7 @@ #include "http.h" #include -static const int DEFAULT_FETCH_RETRIES = 15; +static const int DEFAULT_FETCH_RETRIES = 10; static CURL *curl; @@ -139,10 +139,12 @@ static char *fetch_url(const char *url) void http_cleanup() { - log_debug(_("cleanup CURL")); + log_fct_enter(); curl_easy_cleanup(curl); curl_global_cleanup(); + + log_fct_exit(); } char *get_url_content(const char *url, unsigned int use_cache)