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;
|
struct mgos_timespec *ts;
|
||||||
char buf[200];
|
char buf[200];
|
||||||
int idx;
|
int idx;
|
||||||
|
|
||||||
rpc_log(ri, args);
|
rpc_log(ri, args);
|
||||||
|
|
||||||
json_scanf(args.p, args.len, ri->args_fmt, &idx);
|
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;
|
ri = NULL;
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
if (spec) free(spec);
|
if (spec) {
|
||||||
|
free(spec);
|
||||||
|
}
|
||||||
(void)cb_arg;
|
(void)cb_arg;
|
||||||
(void)fi;
|
(void)fi;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user