summaryrefslogtreecommitdiffstats
path: root/src/options.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-30 04:36:24 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-30 04:36:24 +0100
commita18b49e7c6271b0079fd673ceb3479399ed8099c (patch)
tree6b21b121ea9c8e0b8037b85ebc88fe7ec3052315 /src/options.c
parentd5a043a7c0672df5da19a6024da4ab1af45151a9 (diff)
downloadfastd-a18b49e7c6271b0079fd673ceb3479399ed8099c.tar
fastd-a18b49e7c6271b0079fd673ceb3479399ed8099c.zip
Clean up some parts of the configuration handling (and fix a few little bugs)
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c
index c86717b..f9a147a 100644
--- a/src/options.c
+++ b/src/options.c
@@ -246,8 +246,7 @@ static void option_bind(fastd_context_t *ctx, fastd_config_t *conf, const char *
}
static void option_protocol(fastd_context_t *ctx, fastd_config_t *conf, const char *arg) {
- if (!fastd_config_protocol(ctx, conf, arg))
- exit_error(ctx, "unsupported protocol `%s'", arg);
+ fastd_config_protocol(ctx, conf, arg);
}
static void option_method(fastd_context_t *ctx, fastd_config_t *conf, const char *arg) {