summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-05-08 06:03:39 +0000
committerDamien Miller <djm@mindrot.org>2017-05-08 16:09:20 +1000
commit2e58a69508ac49c02d1bb6057300fa6a76db1045 (patch)
treee4c527261bad6b6d904b623ddf1de269c70ca2b0
parenteffaf526bfa57c0ac9056ca236becf52385ce8af (diff)
upstream commit
helps if I commit the correct version of the file. fix missing return statement. Upstream-ID: c86394a3beeb1ec6611e659bfa830254f325546c
-rw-r--r--packet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 083c475a0..46dcc5b5f 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.c,v 1.255 2017/05/08 00:21:36 djm Exp $ */ 1/* $OpenBSD: packet.c,v 1.256 2017/05/08 06:03:39 djm 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
@@ -2240,6 +2240,7 @@ ssh_packet_get_state(struct ssh *ssh, struct sshbuf *m)
2240 (r = sshbuf_put_u64(m, state->p_read.bytes)) != 0 || 2240 (r = sshbuf_put_u64(m, state->p_read.bytes)) != 0 ||
2241 (r = sshbuf_put_stringb(m, state->input)) != 0 || 2241 (r = sshbuf_put_stringb(m, state->input)) != 0 ||
2242 (r = sshbuf_put_stringb(m, state->output)) != 0) 2242 (r = sshbuf_put_stringb(m, state->output)) != 0)
2243 return r;
2243 2244
2244 return 0; 2245 return 0;
2245} 2246}