The unified diff between revisions [63530dac..] and [e99d4659..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'cli-chansession.c'

#
#
# patch "cli-chansession.c"
#  from [b294715add944d6b9ce10d10222452adf72e6f33]
#    to [e830bb4828a09f4f5c2094ae43bbc77b3d8a8970]
#
============================================================
--- cli-chansession.c	b294715add944d6b9ce10d10222452adf72e6f33
+++ cli-chansession.c	e830bb4828a09f4f5c2094ae43bbc77b3d8a8970
@@ -62,7 +62,7 @@ static void cli_chansessreq(struct Chann
 	TRACE(("enter cli_chansessreq"))

 	type = buf_getstring(ses.payload, NULL);
-	wantreply = buf_getbyte(ses.payload);
+	wantreply = buf_getbool(ses.payload);

 	if (strcmp(type, "exit-status") != 0) {
 		TRACE(("unknown request '%s'", type))