From fff50a7d80728069ca101a262d1543d85ac5313f Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Sat, 16 Sep 2023 10:00:43 +0100 Subject: [PATCH] Ensure the code style is kept --- src/edge_management.c | 2 +- src/sn_management.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/edge_management.c b/src/edge_management.c index 7b4a82186..b061fc1d9 100644 --- a/src/edge_management.c +++ b/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; } diff --git a/src/sn_management.c b/src/sn_management.c index bc580a35a..88946d9f5 100644 --- a/src/sn_management.c +++ b/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; }