Format with uncrustify
This commit is contained in:
@ -127,6 +127,7 @@ static void rpc_timespec_get_handler(struct mg_rpc_request_info *ri, void *cb_ar
|
||||
struct mgos_timespec *ts;
|
||||
char buf[200];
|
||||
int idx;
|
||||
|
||||
rpc_log(ri, args);
|
||||
|
||||
json_scanf(args.p, args.len, ri->args_fmt, &idx);
|
||||
@ -217,7 +218,9 @@ static void rpc_timespec_add_handler(struct mg_rpc_request_info *ri, void *cb_ar
|
||||
ri = NULL;
|
||||
|
||||
exit:
|
||||
if (spec) free(spec);
|
||||
if (spec) {
|
||||
free(spec);
|
||||
}
|
||||
(void)cb_arg;
|
||||
(void)fi;
|
||||
}
|
||||
|
Reference in New Issue
Block a user