summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 662d02e..7c1b655 100644
--- a/src/config.c
+++ b/src/config.c
@@ -166,6 +166,8 @@ conf_ini_handler(void *user, const char *section,
routing = ROUTE_REGEX;
spec = &section[hostln + 1];
break;
+ default:
+ assert(0);
}
assert(hostln < sizeof(hostname));
strncpy(hostname, section, hostln);