summaryrefslogtreecommitdiff
path: root/usr.sbin/sasyncd/net_ctl.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2005-05-22 12:14:17 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2005-05-22 12:14:17 +0000
commit8ca02062561fae6bddf7499b1e6bb7196eaba647 (patch)
tree0e67e52e248f9671ac4862f43b81b7b0d692fe7f /usr.sbin/sasyncd/net_ctl.c
parent17552c0aece3c24d0bc4a2ce2a41d01b80df3592 (diff)
style nits
Diffstat (limited to 'usr.sbin/sasyncd/net_ctl.c')
-rw-r--r--usr.sbin/sasyncd/net_ctl.c5
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);