From d5d70d40d82b12e8c10a60cccabc578e43fc4775 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 25 Nov 2010 11:39:41 +0000 Subject: moved version.h to config.h with additional info git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@5 e61f0598-a718-4e21-a8f0-0aadfa62ad6b --- src/options.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index 175507b..27c97d0 100644 --- a/src/options.c +++ b/src/options.c @@ -26,7 +26,7 @@ */ #include "datatypes.h" -#include "version.h" +#include "config.h" #include "options.h" @@ -222,8 +222,7 @@ void options_default(options_t* opt) opt->local_port_ = NULL; opt->remote_addr_ = NULL; opt->remote_port_ = NULL; - // TODO set system config dir - opt->config_file_ = strdup("/etc/tcpproxy.conf"); + opt->config_file_ = strdup(CONFFILE); string_list_init(&opt->log_targets_); opt->debug_ = 0; } -- cgit v1.2.3