diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2019-06-07 14:18:48 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-06-08 00:49:26 +1000 |
commit | 4b7dd22b02b64b1ededd3c0e98a6e7ae21e31d38 (patch) | |
tree | 39417128dc0dc83c2fac68da2eedd01ae71eb712 /packet.c | |
parent | 130ef0695e1731392ca33831939fe89e8b70cc17 (diff) |
upstream: Typo and spelling fixes in comments and error messages.
Patch from knweiss at gmail.com via -portable.
OpenBSD-Commit-ID: 2577465442f761a39703762c4f87a8dfcb918b4b
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: packet.c,v 1.284 2019/04/18 07:32:57 dtucker Exp $ */ | 1 | /* $OpenBSD: packet.c,v 1.285 2019/06/07 14:18:48 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -296,7 +296,7 @@ ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) | |||
296 | if (ssh == NULL) | 296 | if (ssh == NULL) |
297 | ssh = ssh_alloc_session_state(); | 297 | ssh = ssh_alloc_session_state(); |
298 | if (ssh == NULL) { | 298 | if (ssh == NULL) { |
299 | error("%s: cound not allocate state", __func__); | 299 | error("%s: could not allocate state", __func__); |
300 | return NULL; | 300 | return NULL; |
301 | } | 301 | } |
302 | state = ssh->state; | 302 | state = ssh->state; |