summaryrefslogtreecommitdiffstats
path: root/server-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-01-18 02:10:29 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-01-18 02:10:29 +0000
commitc2e2107063f85c65c0153cb3f201c12e93599038 (patch)
tree520de6716870424c8fc2e11235a97b6a0732ef5b /server-client.c
parent3a09e01a8e0e64f02ec054ca098da0bd8bbdf5dd (diff)
Style nits - return (x) not return x.
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server-client.c b/server-client.c
index a8d48c54..b24b68e8 100644
--- a/server-client.c
+++ b/server-client.c
@@ -334,12 +334,12 @@ server_client_assume_paste(struct session *s)
u_int t;
if ((t = options_get_number(&s->options, "assume-paste-time")) == 0)
- return 0;
+ return (0);
timersub(&s->activity_time, &s->last_activity_time, &tv);
if (tv.tv_sec == 0 && tv.tv_usec < t * 1000)
- return 1;
- return 0;
+ return (1);
+ return (0);
}
/* Handle data key input from client. */