diff options
Diffstat (limited to 'sshconnect.c')
-rw-r--r-- | sshconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c index 82f5539c1..364a62281 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | RCSID("$OpenBSD: sshconnect.c,v 1.145 2003/06/11 10:16:16 jakob Exp $"); | 16 | RCSID("$OpenBSD: sshconnect.c,v 1.146 2003/06/28 16:23:06 deraadt Exp $"); |
17 | 17 | ||
18 | #include <openssl/bn.h> | 18 | #include <openssl/bn.h> |
19 | 19 | ||
@@ -523,7 +523,7 @@ ssh_exchange_identification(void) | |||
523 | compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1, | 523 | compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1, |
524 | compat20 ? PROTOCOL_MINOR_2 : minor1, | 524 | compat20 ? PROTOCOL_MINOR_2 : minor1, |
525 | SSH_VERSION); | 525 | SSH_VERSION); |
526 | if (atomicio(write, connection_out, buf, strlen(buf)) != strlen(buf)) | 526 | if (atomicio(vwrite, connection_out, buf, strlen(buf)) != strlen(buf)) |
527 | fatal("write: %.100s", strerror(errno)); | 527 | fatal("write: %.100s", strerror(errno)); |
528 | client_version_string = xstrdup(buf); | 528 | client_version_string = xstrdup(buf); |
529 | chop(client_version_string); | 529 | chop(client_version_string); |