Introduction
Introduction Statistics Contact Development Disclaimer Help
tdl is not needed anymore - surf - customized build of surf, the suckless webki…
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit 0a6eafe0778f96d98502bf5ebc71179ac5f2d241
parent 6376a30379d9a130f01a37b188b8005ed7d05a9d
Author: Enno Boland (tox) <[email protected]>
Date: Mon, 17 May 2010 11:01:37 +0200
dl is not needed anymore
Diffstat:
M config.def.h | 1 -
M surf.c | 4 +---
2 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/config.def.h b/config.def.h
t@@ -5,7 +5,6 @@ static char *progress_trust = "#00FF00";
static char *stylefile = ".surf/style.css";
static char *scriptfile = ".surf/script.js";
static char *cookiefile = ".surf/cookies.txt";
-static char *dldir = ".surf/dl/";
static time_t sessiontime = 0;
#define NOBACKGROUND 0
diff --git a/surf.c b/surf.c
t@@ -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;
}
t@@ -138,7 +138,6 @@ cleanup(void) {
while(clients)
destroyclient(clients);
g_free(cookiefile);
- g_free(dldir);
g_free(scriptfile);
g_free(stylefile);
}
t@@ -676,7 +675,6 @@ setup(void) {
/* dirs and files */
cookiefile = buildpath(cookiefile);
- dldir = buildpath(dldir);
scriptfile = buildpath(scriptfile);
stylefile = buildpath(stylefile);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.