mirror of
https://github.com/ntop/n2n.git
synced 2024-10-18 07:32:49 +05:30
Ensure the code style is kept
This commit is contained in:
parent
d2bafa716d
commit
fff50a7d80
@ -381,7 +381,7 @@ static void handleMgmtJson (mgmt_req_t *req, char *udp_buf, const int recvlen) {
|
|||||||
/* we reuse the buffer already on the stack for all our strings */
|
/* we reuse the buffer already on the stack for all our strings */
|
||||||
STRBUF_INIT(buf, udp_buf, N2N_SN_PKTBUF_SIZE);
|
STRBUF_INIT(buf, udp_buf, N2N_SN_PKTBUF_SIZE);
|
||||||
|
|
||||||
if (!mgmt_req_init2(req, buf, (char *)&cmdlinebuf)) {
|
if(!mgmt_req_init2(req, buf, (char *)&cmdlinebuf)) {
|
||||||
// if anything failed during init
|
// if anything failed during init
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -241,7 +241,7 @@ static void handleMgmtJson (mgmt_req_t *req, char *udp_buf, const int recvlen) {
|
|||||||
// xx
|
// xx
|
||||||
STRBUF_INIT(buf, udp_buf, N2N_SN_PKTBUF_SIZE);
|
STRBUF_INIT(buf, udp_buf, N2N_SN_PKTBUF_SIZE);
|
||||||
|
|
||||||
if (!mgmt_req_init2(req, buf, (char *)&cmdlinebuf)) {
|
if(!mgmt_req_init2(req, buf, (char *)&cmdlinebuf)) {
|
||||||
// if anything failed during init
|
// if anything failed during init
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user