From b5292d3bb59ca29b379b07e84e4926082a79956f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Fri, 19 Sep 2003 16:18:01 +0200
Subject: [PATCH] (do_channel_open_command): Added missing return
 EXCEPTION_RAISE. Fixed also in 1.4.3.

Rev: src/channel_commands.c:1.29
---
 src/channel_commands.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/channel_commands.c b/src/channel_commands.c
index 5a77c946b..bf83d511e 100644
--- a/src/channel_commands.c
+++ b/src/channel_commands.c
@@ -60,6 +60,8 @@ do_channel_open_command(struct command *s,
 		      make_channel_open_exception(
 			SSH_OPEN_RESOURCE_SHORTAGE,
 			"Allocating a local channel number failed."));
+
+      return;
     }
 
   channel = NEW_CHANNEL(self, connection, index, &request);
-- 
GitLab