projects
/
ppastats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release 1.3.1
[ppastats.git]
/
src
/
http.c
diff --git
a/src/http.c
b/src/http.c
index
d6c7983
..
dd99249
100644
(file)
--- a/
src/http.c
+++ b/
src/http.c
@@
-28,7
+28,7
@@
#include "fcache.h"
#include "http.h"
#include "fcache.h"
#include "http.h"
-#include
"log.h"
+#include
<plog.h>
static const int DEFAULT_FETCH_RETRIES = 10;
static const int DEFAULT_FETCH_RETRIES = 10;
@@
-139,10
+139,12
@@
static char *fetch_url(const char *url)
void http_cleanup()
{
void http_cleanup()
{
- log_
debug(_("cleanup CURL")
);
+ log_
fct_enter(
);
curl_easy_cleanup(curl);
curl_global_cleanup();
curl_easy_cleanup(curl);
curl_global_cleanup();
+
+ log_fct_exit();
}
char *get_url_content(const char *url, unsigned int use_cache)
}
char *get_url_content(const char *url, unsigned int use_cache)
@@
-162,4
+164,3
@@
char *get_url_content(const char *url, unsigned int use_cache)
return content;
}
return content;
}
-