Skip to content

Commit

Permalink
Ensure the code style is kept
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishcoleman committed Oct 24, 2023
1 parent d2bafa7 commit fff50a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/edge_management.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/sn_management.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit fff50a7

Please sign in to comment.