diff --git a/iguana/exchanges/mm.c b/iguana/exchanges/mm.c index 582518ac8..acacfa4d2 100644 --- a/iguana/exchanges/mm.c +++ b/iguana/exchanges/mm.c @@ -883,7 +883,7 @@ int main(int argc, const char * argv[]) retjson = cJSON_Parse("{\"client\":1,\"passphrase\":\"test\"}"); printf("calling LP_main(%s)\n",jprint(retjson,0)); LP_main(retjson); - emscripten_set_main_loop(LP_mainiter,0,0); + emscripten_set_main_loop(LP_fromjs_iter,0,0); #else if ( argc > 1 && (retjson= cJSON_Parse(argv[1])) != 0 ) {