forked from mirrors/treebird
Fix query values
FossilOrigin-Name: 65398eea30625deaed24e6ae750c497bf64bf7b89b267ae48bedd851c793de98
This commit is contained in:
parent
657b648938
commit
6e029b5ec4
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ char* read_query_data(struct get_values* query)
|
|||
if (!(info.key && info.val)) break;
|
||||
for (size_t i = 0; i < (sizeof(refs)/sizeof(refs[0])); ++i)
|
||||
if (strcmp(info.key, refs[i].key) == 0)
|
||||
refs[i].func(info.val, NULL, info.key);
|
||||
refs[i].func(info.val, NULL, refs[i].val);
|
||||
}
|
||||
while (g_query_read);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue