upstream: typo in comment

OpenBSD-Commit-ID: 39c58f41e0f32d1ff31731fa6f5bbbc3ad25084a
This commit is contained in:
djm@openbsd.org 2022-11-09 00:15:59 +00:00 committed by Darren Tucker
parent cf1a9852d7
commit 1c2be7c200
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

4
ssh.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: ssh.c,v 1.579 2022/10/24 22:43:36 djm Exp $ */ /* $OpenBSD: ssh.c,v 1.580 2022/11/09 00:15:59 djm Exp $ */
/* /*
* Author: Tatu Ylonen <ylo@cs.hut.fi> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -2032,7 +2032,7 @@ ssh_session2_setup(struct ssh *ssh, int id, int success, void *arg)
char *proto = NULL, *data = NULL; char *proto = NULL, *data = NULL;
if (!success) if (!success)
return; /* No need for error message, channels code sens one */ return; /* No need for error message, channels code sends one */
display = getenv("DISPLAY"); display = getenv("DISPLAY");
if (display == NULL && options.forward_x11) if (display == NULL && options.forward_x11)