summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh.c b/ssh.c
index 07947dc6a..4859c5bed 100644
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#include "includes.h" 41#include "includes.h"
42RCSID("$OpenBSD: ssh.c,v 1.123 2001/05/31 10:30:17 markus Exp $"); 42RCSID("$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)