ports/net/freenet6/files/patch-src-tspc.c
Kevin Lo 9cadab2a15 Initial import of freenet6-0.9.5.
Freenet is the Freenet6 Tunnel Setup Protocol Client

PR: 31791
Submitted by: Edwin Groothuis <edwin@mavetju.org>
2001-11-08 15:24:26 +00:00

21 lines
810 B
C

--- src/tspc.c.orig Tue Sep 11 23:41:05 2001
+++ src/tspc.c Thu Oct 11 13:27:31 2001
@@ -178,7 +178,7 @@
int Initialise(int argc, char *argv[], tConf *Conf)
{
tConf CmdLine;
- char *Templ = "template";
+ char *Templ = "bin";
extern int ReadConfigFile(char *File, tConf *Conf);
Conf->tsp_dir = NULL;
@@ -554,7 +554,7 @@
SetEnv("TSP_VERBOSE", buf, 1);
SetEnv("TSP_HOME_DIR", TspHomeDir, 1);
- snprintf(buf, sizeof buf, "%s%s%c%s.%s", ScriptInterpretor, ScriptDir, DirSeparator, Conf.template, ScriptExtension);
+ snprintf(buf, sizeof buf, "%s%s%ctspc-%s.%s", ScriptInterpretor, ScriptDir, DirSeparator, Conf.template, ScriptExtension);
Display(2, ELInfo, "SetUpInterface", "Executing configuration script.\n");
Display(2, ELInfo, "SetUpInterface", buf);