From: Jean-Philippe Orsini Date: Sat, 1 Mar 2014 17:26:53 +0000 (+0000) Subject: better logging X-Git-Tag: v1.3.0~4 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ppastats.git;a=commitdiff_plain;h=31fc078cb1ec387eea7d41413a98904150cc46ae better logging --- diff --git a/src/http.c b/src/http.c index 31088fd..99a6db3 100644 --- a/src/http.c +++ b/src/http.c @@ -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)