diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-09 01:42:01 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-09 01:42:01 +0000 |
commit | 664408d2a794806722aa3f321b92c7bdd667c42e (patch) | |
tree | 0dbce8250bc4d6325ed2f2b6950221a24d62dc2a /ssh.c | |
parent | 9d0c06667eb4ca616ffa690e88b9dd7c438e3103 (diff) |
- markus@cvs.openbsd.org 2001/06/07 20:23:05
[authfd.c authfile.c channels.c kexdh.c kexgex.c packet.c ssh.c
sshconnect.c sshconnect1.c]
use xxx_put_cstring()
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,7 +39,7 @@ | |||
39 | */ | 39 | */ |
40 | 40 | ||
41 | #include "includes.h" | 41 | #include "includes.h" |
42 | RCSID("$OpenBSD: ssh.c,v 1.123 2001/05/31 10:30:17 markus Exp $"); | 42 | RCSID("$OpenBSD: ssh.c,v 1.124 2001/06/07 20:23:05 markus Exp $"); |
43 | 43 | ||
44 | #include <openssl/evp.h> | 44 | #include <openssl/evp.h> |
45 | #include <openssl/err.h> | 45 | #include <openssl/err.h> |
@@ -868,7 +868,7 @@ ssh_session(void) | |||
868 | cp = getenv("TERM"); | 868 | cp = getenv("TERM"); |
869 | if (!cp) | 869 | if (!cp) |
870 | cp = ""; | 870 | cp = ""; |
871 | packet_put_string(cp, strlen(cp)); | 871 | packet_put_cstring(cp); |
872 | 872 | ||
873 | /* Store window size in the packet. */ | 873 | /* Store window size in the packet. */ |
874 | if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) | 874 | if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) |