diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-12-10 00:41:52 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-12-10 00:41:52 +0000 |
commit | fcf009ded7a77959da5592e298de93fb044a6757 (patch) | |
tree | 3cbd3d7e245e7d63e9c5eed0e5075fa97ea1a6de /src/options.c | |
parent | listner_ vs listeners_ (diff) |
re-reading the config file after sig-hup
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@43 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index b905426..116cb52 100644 --- a/src/options.c +++ b/src/options.c @@ -234,6 +234,8 @@ void options_parse_post(options_t* opt) if(opt->config_file_ && opt->local_port_) { log_printf(WARNING, "local port and config file specified, will ignore config file"); + free(opt->config_file_); + opt->config_file_ = NULL; } if(opt->buffer_size_ <= 0) { |