ng_sample: fix style nits
MFC after: 3 days Reviewed by: ivy, kp, des Approved by: des (mentor) Differential Revision: https://reviews.freebsd.org/D50343
This commit is contained in:
committed by
Lexi Winter
parent
e647a222a1
commit
95c414dd27
@@ -271,7 +271,7 @@ ng_xxx_rcvmsg(node_p node, item_p item, hook_p lasthook)
|
||||
struct ngxxxstat *stats;
|
||||
|
||||
NG_MKRESPONSE(resp, msg, sizeof(*stats), M_NOWAIT);
|
||||
if (!resp) {
|
||||
if (resp == NULL) {
|
||||
error = ENOMEM;
|
||||
break;
|
||||
}
|
||||
@@ -320,7 +320,7 @@ ng_xxx_rcvmsg(node_p node, item_p item, hook_p lasthook)
|
||||
* in the connect() method.
|
||||
*/
|
||||
static int
|
||||
ng_xxx_rcvdata(hook_p hook, item_p item )
|
||||
ng_xxx_rcvdata(hook_p hook, item_p item)
|
||||
{
|
||||
const xxx_p xxxp = NG_NODE_PRIVATE(NG_HOOK_NODE(hook));
|
||||
int chan = -2;
|
||||
|
||||
Reference in New Issue
Block a user