Commit 66b79144 authored by Niels Möller's avatar Niels Möller
Browse files

* src/channel.c (channel_close_callback): Check the

CHANNEL_SENT_CLOSE flag before calling channel_close().

Rev: src/channel.c:1.58
parent dbfb8fea
......@@ -1663,7 +1663,8 @@ channel_close_callback(struct close_callback *c, int reason)
/* Close channel */
{
debug("channel_close_callback: Closing down channel.\n");
channel_close(closure->channel);
if (! (closure->channel->flags & CHANNEL_SENT_CLOSE) )
channel_close(closure->channel);
}
}
......
Supports Markdown
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