summaryrefslogtreecommitdiff
path: root/src/anytun-config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/anytun-config.cpp')
-rw-r--r--src/anytun-config.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/anytun-config.cpp b/src/anytun-config.cpp
index f69e883..0e60710 100644
--- a/src/anytun-config.cpp
+++ b/src/anytun-config.cpp
@@ -110,14 +110,8 @@ int main(int argc, char* argv[])
exit(0);
}
StringList targets = gOpt.getLogTargets();
- if(targets.empty()) {
- cLog.addTarget("stderr:2");
- }
- else {
- StringList::const_iterator it;
- for(it = targets.begin();it != targets.end(); ++it)
- cLog.addTarget(*it);
- }
+ for(StringList::const_iterator it = targets.begin();it != targets.end(); ++it)
+ cLog.addTarget(*it);
}
catch(syntax_error& e)
{