Skip to content

Commit c99082e

Browse files
committedFeb 13, 2019
Update the code to make the console work.
Details in monkey#44
1 parent 62ab1a0 commit c99082e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/duda.c

+2
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ int duda_service_register(struct duda_api_objects *api, struct web_service *ws)
222222
cs_method = api->map->method_builtin_new("stats_txt", duda_stats_txt_cb, 0);
223223
api->map->interface_add_method(cs_method, cs_iface);
224224
mk_list_add(&cs_iface->_head, ws->map_interfaces);
225+
#else
226+
mk_list_add(&cs_iface->_head, ws->map_interfaces);
225227
#endif
226228

227229
/* Lookup callback functions for each registered method */

0 commit comments

Comments
 (0)
Please sign in to comment.