mirror of
https://github.com/ntop/n2n.git
synced 2024-11-01 05:07:57 +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 */
|
||||
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
|
||||
return;
|
||||
}
|
||||
|
@ -241,7 +241,7 @@ static void handleMgmtJson (mgmt_req_t *req, char *udp_buf, const int recvlen) {
|
||||
// xx
|
||||
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
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user