renaming to bpph
[ppastats.git] / src / http.c
index 4b7b27f..4baceef 100644 (file)
@@ -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);