Ensure the code style is kept

This commit is contained in:
Hamish Coleman 2023-09-16 10:00:43 +01:00
parent d2bafa716d
commit fff50a7d80
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}