summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-08 22:04:26 +1100
committerDamien Miller <djm@mindrot.org>2002-02-08 22:04:26 +1100
commita500cd608eb505c41fca079433721d46a02e8e1a (patch)
tree8d8b0155a68f04aae97d8438d20465bc584cef51 /ssh.c
parent8829d3669d154dbd06f9ee2cc779f14e2af8e15f (diff)
- markus@cvs.openbsd.org 2002/02/05 14:32:55
[channels.c channels.h ssh.c] merge channel_request() into channel_request_start()
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh.c b/ssh.c
index 5ec27219..6415d27f 100644
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.160 2002/02/03 17:58:21 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.161 2002/02/05 14:32:55 markus Exp $");
#include <openssl/evp.h>
#include <openssl/err.h>
@@ -1110,7 +1110,8 @@ ssh_session2_setup(int id, void *arg)
packet_put_string(buffer_ptr(&command), buffer_len(&command));
packet_send();
} else {
- channel_request(id, "shell", 0);
+ channel_request_start(id, "shell", 0);
+ packet_send();
}
/* channel_callback(id, SSH2_MSG_OPEN_CONFIGMATION, client_init, 0); */