[hackers] [surf] Style cleanup. || Christoph Lohmann
commit c81fbbaf43535781cbc86904c361a57823b6de50
Author: Christoph Lohmann <20h_AT_r-36.net>
AuthorDate: Tue Oct 13 21:48:38 2015 +0200
Commit: Christoph Lohmann <20h_AT_r-36.net>
CommitDate: Tue Oct 13 21:48:38 2015 +0200
Style cleanup.
diff --git a/surf.c b/surf.c
index cd43e41..0fae80b 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -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);
_AT_@ -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);
Received on Tue Oct 13 2015 - 21:49:10 CEST
This archive was generated by hypermail 2.3.0
: Tue Oct 13 2015 - 22:00:14 CEST