summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ssh/sshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index f0917984234..6c7d0a3bf39 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.546 2020/01/31 22:42:45 djm Exp $ */
+/* $OpenBSD: sshd.c,v 1.547 2020/01/31 23:08:08 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -846,7 +846,7 @@ send_rexec_state(int fd, struct sshbuf *conf)
TAILQ_FOREACH(item, &includes, entry) {
if ((r = sshbuf_put_cstring(inc, item->selector)) != 0 ||
(r = sshbuf_put_cstring(inc, item->filename)) != 0 ||
- (r = sshbuf_put_stringb(m, item->contents)) != 0)
+ (r = sshbuf_put_stringb(inc, item->contents)) != 0)
fatal("%s: buffer error: %s", __func__, ssh_err(r));
}