let mqi_handle = C.init mqi_flags debug_print in
let id = req#param "id" in
let query = G.locate id in
- let result = MQueryInterpreter.execute mqi_handle query in
+ let result = MQueryInterpreter.execute mqi_handle query in
C.close mqi_handle;
Http_daemon.respond ~headers:[contype] ~body:(pp_result result) outchan
| "/unreferred" ->
let mqi_handle = C.init mqi_flags debug_print in
let target = req#param "target" in
let source = req#param "source" in
- let query = G.unreferred target source in
- let result = MQueryInterpreter.execute mqi_handle query in
+ let query = G.unreferred target source in
+ let result = MQueryInterpreter.execute mqi_handle query in
C.close mqi_handle;
Http_daemon.respond ~headers:[contype] ~body:(pp_result result) outchan
| "/getpage" ->