diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2005-05-22 12:14:17 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2005-05-22 12:14:17 +0000 |
commit | 8ca02062561fae6bddf7499b1e6bb7196eaba647 (patch) | |
tree | 0e67e52e248f9671ac4862f43b81b7b0d692fe7f /usr.sbin/sasyncd/net_ctl.c | |
parent | 17552c0aece3c24d0bc4a2ce2a41d01b80df3592 (diff) |
style nits
Diffstat (limited to 'usr.sbin/sasyncd/net_ctl.c')
-rw-r--r-- | usr.sbin/sasyncd/net_ctl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/sasyncd/net_ctl.c b/usr.sbin/sasyncd/net_ctl.c index 97cabfa97f4..f58668363d3 100644 --- a/usr.sbin/sasyncd/net_ctl.c +++ b/usr.sbin/sasyncd/net_ctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: net_ctl.c,v 1.1 2005/03/30 18:44:49 ho Exp $ */ +/* $OpenBSD: net_ctl.c,v 1.2 2005/05/22 12:14:16 ho Exp $ */ /* * Copyright (c) 2005 Håkan Olsson. All rights reserved. @@ -62,8 +62,7 @@ net_ctl_check_state(struct syncpeer *p, enum RUNSTATE nstate) net_ctl_send_error(p, CTL_STATE); return -1; } - if (cfgstate.runstate == MASTER && - nstate == MASTER) { + if (cfgstate.runstate == MASTER && nstate == MASTER) { log_msg(0, "got bad state MASTER from peer \"%s\"", p->name); net_ctl_send_error(p, CTL_STATE); |