X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=surf.c;h=36f243e8febb9596a7d505ee79e78210b45d1daf;hp=48f6b39680ef2b07e20b313225dfade23574e155;hb=b3a4392923b26e81c4faa35907a4a2d071e2275f;hpb=b1c5e594d135292bb7b1da426ae5959bfe788b57 diff --git a/surf.c b/surf.c index 48f6b39..36f243e 100644 --- a/surf.c +++ b/surf.c @@ -292,7 +292,7 @@ buttonrelease(WebKitWebView *web, GdkEventButton *e, GList *gl) { static void cleanup(void) { - if (diskcache) { + if(diskcache) { soup_cache_flush(diskcache); soup_cache_dump(diskcache); } @@ -715,7 +715,7 @@ loadstatuschange(WebKitWebView *view, GParamSpec *pspec, Client *c) { case WEBKIT_LOAD_FINISHED: c->progress = 100; updatetitle(c); - if (diskcache) { + if(diskcache) { soup_cache_flush(diskcache); soup_cache_dump(diskcache); }