summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2003-04-28 20:38:05 +0000
committerarchie <archie@FreeBSD.org>2003-04-28 20:38:05 +0000
commit389061c1253888e312a58cff19cf6822c4a9439d (patch)
treedecbda1a8dff07af0d7a02af2da763e686fd9ff6 /sys/netgraph
parentd33371fd6398934979c7e5d1a5d9e77297d07475 (diff)
downloadFreeBSD-src-389061c1253888e312a58cff19cf6822c4a9439d.zip
FreeBSD-src-389061c1253888e312a58cff19cf6822c4a9439d.tar.gz
Add missing braces.
Submitted by: Andrew Lankford <arlankfo@141.com>
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_ksocket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netgraph/ng_ksocket.c b/sys/netgraph/ng_ksocket.c
index b3e53e4..d001fb4 100644
--- a/sys/netgraph/ng_ksocket.c
+++ b/sys/netgraph/ng_ksocket.c
@@ -749,12 +749,13 @@ ng_ksocket_rcvmsg(node_p node, item_p item, hook_p lasthook)
so->so_state &= ~SS_ISCONNECTING;
ERROUT(error);
}
- if ((so->so_state & SS_ISCONNECTING) != 0)
+ if ((so->so_state & SS_ISCONNECTING) != 0) {
/* We will notify the sender when we connect */
priv->response_token = msg->header.token;
raddr = priv->response_addr = NGI_RETADDR(item);
priv->flags |= KSF_CONNECTING;
ERROUT(EINPROGRESS);
+ }
break;
}
OpenPOWER on IntegriCloud