summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-05-31 05:15:52 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-05-31 05:15:52 +0200
commitae429e372a412cec84c6f67477bd9d429c485ff7 (patch)
treedff021c3e2ea332154f0930e7e3375931ef9099f /src/config.c
parent060c91156379c07fc714bc1c4de2a88a9ff9daa0 (diff)
downloadfastd-ae429e372a412cec84c6f67477bd9d429c485ff7.tar
fastd-ae429e372a412cec84c6f67477bd9d429c485ff7.zip
Split main function
init() is still a bit long, but much better than before.
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c
index 6119669..21c30c4 100644
--- a/src/config.c
+++ b/src/config.c
@@ -58,8 +58,6 @@ extern const fastd_protocol_t fastd_protocol_ec25519_fhmqvc;
/** Initializes the global configuration with default values */
static void default_config(void) {
- memset(&conf, 0, sizeof(fastd_config_t));
-
conf.log_syslog_ident = strdup("fastd");
conf.mtu = 1500;