dl is not needed anymore

This commit is contained in:
Enno Boland (tox)
2010-05-17 11:01:37 +02:00
parent 6376a30379
commit 0a6eafe077
2 changed files with 1 additions and 4 deletions
+1 -3
View File
@@ -128,7 +128,7 @@ buildpath(const char *path) {
*p = '/';
}
/* creating file (gives error when apath ends with "/") */
if((f = g_fopen(apath, "a")))
if((f = fopen(apath, "a")))
fclose(f);
return apath;
}
@@ -138,7 +138,6 @@ cleanup(void) {
while(clients)
destroyclient(clients);
g_free(cookiefile);
g_free(dldir);
g_free(scriptfile);
g_free(stylefile);
}
@@ -676,7 +675,6 @@ setup(void) {
/* dirs and files */
cookiefile = buildpath(cookiefile);
dldir = buildpath(dldir);
scriptfile = buildpath(scriptfile);
stylefile = buildpath(stylefile);