Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /branches/1.9/modules/mi_json/http_fnc.c [r10381] .. [r10382] Maximize Restore

  Switch to side-by-side view

--- a/branches/1.9/modules/mi_json/http_fnc.c
+++ b/branches/1.9/modules/mi_json/http_fnc.c
@@ -311,8 +311,9 @@
   html_page_data.buffer.s = buffer->s;
   html_page_data.buffer.len = buffer->len;
 
+  /* FIXME: find a proper way for handling flushing */
   mi_rpl = run_mi_cmd(f, mi_cmd,
-        (mi_flush_f *)mi_json_flush_tree, &html_page_data);
+        NULL, &html_page_data);
   if (mi_rpl == NULL) {
     LM_ERR("failed to process the command\n");
     if (mi_cmd) free_mi_tree(mi_cmd);