Style cleanup.

This commit is contained in:
Christoph Lohmann 2015-10-13 21:48:38 +02:00
parent 8a898ec4df
commit c81fbbaf43

3
surf.c
View file

@ -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);