about summary refs log tree commit diff
path: root/surf.c
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2010-05-17 11:01:37 +0200
committerEnno Boland (tox) <tox@s01.de>2010-05-17 11:01:37 +0200
commit0a6eafe0778f96d98502bf5ebc71179ac5f2d241 (patch)
treeb72bd659ed6b9e5dc79be2eca4a497ac0df613c3 /surf.c
parentremoving context-menu, downloading. (diff)
downloadsurf-0a6eafe0778f96d98502bf5ebc71179ac5f2d241.tar.gz
surf-0a6eafe0778f96d98502bf5ebc71179ac5f2d241.tar.bz2
surf-0a6eafe0778f96d98502bf5ebc71179ac5f2d241.zip
dl is not needed anymore
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/surf.c b/surf.c
index 7b4d9bb..5905c04 100644
--- a/surf.c
+++ b/surf.c
@@ -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);