Browse Source

Ensure the code style is kept

dev
Hamish Coleman 1 year ago
parent
commit
fff50a7d80
  1. 2
      src/edge_management.c
  2. 2
      src/sn_management.c

2
src/edge_management.c

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

2
src/sn_management.c

@ -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…
Cancel
Save