diff options
author | 2003-05-11 20:30:24 +0000 | |
---|---|---|
committer | 2003-05-11 20:30:24 +0000 | |
commit | fe5822e586f89c89575e1903a41725ea84e8cf6e (patch) | |
tree | 0ec93273ee2d724e64c8e6790eca641c906f8468 /usr.bin/ssh/ssh.c | |
parent | Put the generated asn1 files in the tree, so that the asn1_compile (diff) | |
download | wireguard-openbsd-fe5822e586f89c89575e1903a41725ea84e8cf6e.tar.xz wireguard-openbsd-fe5822e586f89c89575e1903a41725ea84e8cf6e.zip |
make channel_new() strdup the 'remote_name' (not the caller); ok theo
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 2bf38bf0368..940d08d8d65 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.191 2003/04/08 20:21:29 itojun Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.192 2003/05/11 20:30:25 markus Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -1108,7 +1108,7 @@ ssh_session2_open(void) c = channel_new( "session", SSH_CHANNEL_OPENING, in, out, err, window, packetmax, CHAN_EXTENDED_WRITE, - xstrdup("client-session"), /*nonblock*/0); + "client-session", /*nonblock*/0); debug3("ssh_session2_open: channel_new: %d", c->self); |