Commit 009db097 authored by Niels Möller's avatar Niels Möller
Browse files

* src/channel.c (alloc_channel): Initialize new channel-entries to

NULL.

Rev: src/channel.c:1.99
parent d1e5d57b
......@@ -325,7 +325,8 @@ alloc_channel(struct channel_table *table)
table->next_channel = table->used_channels = i+1;
table->in_use[i] = CHANNEL_RESERVED;
table->channels[i] = NULL;
success:
table->channel_count++;
verbose("Allocated local channel number %i\n", i);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment