forked from github/server
fix new callback signature for jsonconf
This commit is contained in:
parent
43066b6720
commit
e1d117754a
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ struct flags {
|
||||||
int result;
|
int result;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void cb_flags(void* json, struct flags* flags)
|
static void cb_flags(void* json, void *udata) {
|
||||||
{
|
struct flags *flags = (struct flags *)udata;
|
||||||
cJSON* entry = (cJSON*)json;
|
cJSON* entry = (cJSON*)json;
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; flags->names[i]; ++i) {
|
for (i = 0; flags->names[i]; ++i) {
|
||||||
|
|
Loading…
Reference in a new issue