summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-10-31 23:56:35 +0000
committerThomas Adam <thomas@xteddy.org>2015-10-31 23:56:35 +0000
commitc975de2e07bdb21c85fc4f2c14a17bc00ca63aff (patch)
tree70ff97109da24dc7273b59df6ef6a9f298e16c48 /client.c
parent17f6c3be8eeb0b67d07f916026dab918795c0317 (diff)
parentba7fb49fb9b972a03547381783abe91be3fcfa37 (diff)
Merge branch 'obsd-master'
Conflicts: server.c
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index db29fdec..ccc58fb4 100644
--- a/client.c
+++ b/client.c
@@ -601,7 +601,7 @@ client_dispatch_wait(struct imsg *imsg)
fprintf(stderr, "protocol version mismatch "
"(client %d, server %u)\n", PROTOCOL_VERSION,
- imsg->hdr.peerid);
+ imsg->hdr.peerid & 0xff);
client_exitval = 1;
proc_exit(client_proc);
break;