projects
/
ppastats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
only save useful att for bpph
[ppastats.git]
/
src
/
http.c
diff --git
a/src/http.c
b/src/http.c
index
4b7b27f
..
4baceef
100644
(file)
--- a/
src/http.c
+++ b/
src/http.c
@@
-151,9
+151,8
@@
char *get_url_content(const char *url, unsigned int use_cache)
if (use_cache)
content = fcache_get(url + 7);
- if (!content)
{
+ if (!content)
content = fetch_url(url);
- }
if (use_cache && content)
fcache_put(url + 7, content);