diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-27 19:01:58 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-27 19:01:58 +0200 |
commit | 2190d635c1bb7d917c16b543b78d74a4ca9a735d (patch) | |
tree | 5c536e7def9471760587837ed088a1ab26cf1432 | |
parent | 21e4ada4bb0321250702c3af32d10f6a1bc65931 (diff) | |
download | fastd-2190d635c1bb7d917c16b543b78d74a4ca9a735d.tar fastd-2190d635c1bb7d917c16b543b78d74a4ca9a735d.zip |
Fix NULL dereference on null protocol initialization
-rw-r--r-- | src/protocol_null.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol_null.c b/src/protocol_null.c index 71957e2..b22e03e 100644 --- a/src/protocol_null.c +++ b/src/protocol_null.c @@ -35,7 +35,7 @@ static void protocol_init(fastd_context *ctx, fastd_config *conf) { - if (ctx->conf->n_floating > 1) + if (conf->n_floating > 1) exit_error(ctx, "with protocol `null' use can't define more than one floating peer"); } |