summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/proc.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-10-31 13:43:38 +0000
committernicm <nicm@openbsd.org>2015-10-31 13:43:38 +0000
commit5913d2d65d414bf950317d76af6a2d5cb53b0350 (patch)
tree0bad22e453edb2291a1b42e0b90f8fbf1af5cb77 /usr.bin/tmux/proc.c
parentThe output log is only useful once and it means creating a file, so open (diff)
downloadwireguard-openbsd-5913d2d65d414bf950317d76af6a2d5cb53b0350.tar.xz
wireguard-openbsd-5913d2d65d414bf950317d76af6a2d5cb53b0350.zip
Don't shift version out of peerid, it is needed later.
Diffstat (limited to 'usr.bin/tmux/proc.c')
-rw-r--r--usr.bin/tmux/proc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/proc.c b/usr.bin/tmux/proc.c
index 496e20794a7..0079d866d65 100644
--- a/usr.bin/tmux/proc.c
+++ b/usr.bin/tmux/proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.c,v 1.2 2015/10/29 09:35:31 nicm Exp $ */
+/* $OpenBSD: proc.c,v 1.3 2015/10/31 13:43:38 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -122,7 +122,6 @@ peer_check_version(struct tmuxpeer *peer, struct imsg *imsg)
return (-1);
}
- imsg->hdr.peerid >>= 8;
return (0);
}