Style cleanup.
This commit is contained in:
parent
8a898ec4df
commit
c81fbbaf43
3
surf.c
3
surf.c
|
@ -273,7 +273,6 @@ buildfile(const char *path) {
|
||||||
fpath = g_build_filename(bpath, bname, NULL);
|
fpath = g_build_filename(bpath, bname, NULL);
|
||||||
g_free(bname);
|
g_free(bname);
|
||||||
|
|
||||||
|
|
||||||
if(!(f = fopen(fpath, "a")))
|
if(!(f = fopen(fpath, "a")))
|
||||||
die("Could not open file: %s\n", fpath);
|
die("Could not open file: %s\n", fpath);
|
||||||
|
|
||||||
|
@ -310,7 +309,7 @@ buildpath(const char *path) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* creating directory */
|
/* 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);
|
die("Could not access directory: %s\n", apath);
|
||||||
|
|
||||||
fpath = realpath(apath, NULL);
|
fpath = realpath(apath, NULL);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user