summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index ee64060eb..ea16847d9 100644
--- a/packet.c
+++ b/packet.c
@@ -37,7 +37,7 @@
37 */ 37 */
38 38
39#include "includes.h" 39#include "includes.h"
40RCSID("$OpenBSD: packet.c,v 1.78 2001/12/27 20:39:58 markus Exp $"); 40RCSID("$OpenBSD: packet.c,v 1.79 2001/12/28 12:14:27 markus Exp $");
41 41
42#include "xmalloc.h" 42#include "xmalloc.h"
43#include "buffer.h" 43#include "buffer.h"
@@ -632,7 +632,7 @@ packet_read_seqnr(int *payload_len_ptr, u_int32_t *seqnr_p)
632 || type == SSH_SMSG_FAILURE 632 || type == SSH_SMSG_FAILURE
633 || type == SSH_CMSG_EOF 633 || type == SSH_CMSG_EOF
634 || type == SSH_CMSG_EXIT_CONFIRMATION)) 634 || type == SSH_CMSG_EXIT_CONFIRMATION))
635 packet_done(); 635 packet_check_eom();
636 /* If we got a packet, return it. */ 636 /* If we got a packet, return it. */
637 if (type != SSH_MSG_NONE) { 637 if (type != SSH_MSG_NONE) {
638 xfree(setp); 638 xfree(setp);