Small style fix in ctl.c
This commit is contained in:
parent
a8c9e9c651
commit
aa1de06e3a
@ -943,8 +943,7 @@ ctl_byname(tsd_t *tsd, const char *name, void *oldp, size_t *oldlenp,
|
|||||||
node = ctl_named_node(nodes[depth-1]);
|
node = ctl_named_node(nodes[depth-1]);
|
||||||
if (node != NULL && node->ctl) {
|
if (node != NULL && node->ctl) {
|
||||||
ret = node->ctl(tsd, mib, depth, oldp, oldlenp, newp, newlen);
|
ret = node->ctl(tsd, mib, depth, oldp, oldlenp, newp, newlen);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
/* The name refers to a partial path through the ctl tree. */
|
/* The name refers to a partial path through the ctl tree. */
|
||||||
ret = ENOENT;
|
ret = ENOENT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user