diff options
| author | Edwin Groothuis <edwin@FreeBSD.org> | 2008-07-20 14:02:42 +0000 |
|---|---|---|
| committer | Edwin Groothuis <edwin@FreeBSD.org> | 2008-07-20 14:02:42 +0000 |
| commit | a46406e44dec33b49a0e825132539c269362cb06 (patch) | |
| tree | ad19d830c08ec8b73cb891a8ad6a00db57f3d55b /net/freenet6/files/patch-src__tsp__tsp_setup.c | |
| parent | - Respect NOPORTEXAMPLES. (diff) | |
Update to 5.1
Please note that the name of the program and the configuration files
has changed dramatically.
Diffstat (limited to 'net/freenet6/files/patch-src__tsp__tsp_setup.c')
| -rw-r--r-- | net/freenet6/files/patch-src__tsp__tsp_setup.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net/freenet6/files/patch-src__tsp__tsp_setup.c b/net/freenet6/files/patch-src__tsp__tsp_setup.c new file mode 100644 index 000000000000..5b7d2ca84de5 --- /dev/null +++ b/net/freenet6/files/patch-src__tsp__tsp_setup.c @@ -0,0 +1,27 @@ +--- src/tsp/tsp_setup.c.orig 2008-07-20 23:56:23.000000000 +1000 ++++ src/tsp/tsp_setup.c 2008-07-20 23:57:19.000000000 +1000 +@@ -273,7 +273,7 @@ + // + if( buffer[0] == 0x00 ) + { +- snprintf( buffer, sizeof buffer, "%s%c%s.%s", ScriptDir, DirSeparator, pConfig->template, ScriptExtension); ++ snprintf( buffer, sizeof buffer, "%s%cgw6c-%s.%s", ScriptDir, DirSeparator, pConfig->template, ScriptExtension); + + f_test = fopen( buffer, "r" ); + if( f_test == NULL ) +@@ -290,13 +290,13 @@ + if( ScriptInterpretor != NULL ) + { + snprintf( buffer, sizeof buffer, +- "%s \"%s%c%s.%s\"", ++ "%s \"%s%cgw6c-%s.%s\"", + ScriptInterpretor, ScriptDir, DirSeparator, pConfig->template, ScriptExtension); + } + else + { + snprintf( buffer, sizeof buffer, +- "\"%s%c%s.%s\"", ++ "\"%s%cgw6c-%s.%s\"", + ScriptDir, DirSeparator, pConfig->template, ScriptExtension); + } + } |
