Style cleanup. - surf - [fork] surf browser, a WebKit based browser
HTML git clone git@git.drkhsh.at/surf.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit c81fbbaf43535781cbc86904c361a57823b6de50
DIR parent 8a898ec4dfc7068656681ec94a04f8ed3ebe3b2d
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 13 Oct 2015 21:48:38 +0200
Style cleanup.
Diffstat:
M surf.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/surf.c b/surf.c
@@ -273,7 +273,6 @@ buildfile(const char *path) {
fpath = g_build_filename(bpath, bname, NULL);
g_free(bname);
-
if(!(f = fopen(fpath, "a")))
die("Could not open file: %s\n", fpath);
@@ -310,7 +309,7 @@ buildpath(const char *path) {
}
/* creating directory */
- if (g_mkdir_with_parents(apath, 0700) < 0)
+ if(g_mkdir_with_parents(apath, 0700) < 0)
die("Could not access directory: %s\n", apath);
fpath = realpath(apath, NULL);