# HG changeset patch # User jbe # Date 1422563355 -3600 # Node ID 78694b82078fe8a349e830e3873b1049b919c173 # Parent bf7d3921872daee3e0be67e204909d9e39036345 Removed C++ style comments (use C style comments) diff -r bf7d3921872d -r 78694b82078f moonbridge.c --- a/moonbridge.c Thu Jan 29 20:34:12 2015 +0100 +++ b/moonbridge.c Thu Jan 29 21:29:15 2015 +0100 @@ -507,7 +507,7 @@ struct moonbr_listener *listener = &pool->listener[i]; switch (listener->proto) { case MOONBR_PROTO_INTERVAL: - // nothing to do here: starting intervals is performed in moonbr_run() function + /* nothing to do here: starting intervals is performed in moonbr_run() function */ if (!listener->proto_specific.interval.name) { moonbr_log(LOG_INFO, "Adding unnamed interval listener"); } else { @@ -2519,7 +2519,7 @@ lua_pushnil(L); lua_rawsetp(L, LUA_REGISTRYINDEX, moonbr_luakey_finish_func(pool)); lua_error(L); - return 0; // avoid compiler warning + return 0; /* avoid compiler warning */ } @@ -2730,7 +2730,7 @@ lua_setglobal(L, "timeout"); lua_pushcfunction(L, moonbr_listen); lua_setglobal(L, "listen"); - lua_pushcfunction(L, moonbr_addtraceback); // on stack position 1 + lua_pushcfunction(L, moonbr_addtraceback); /* on stack position 1 */ moonbr_log(LOG_INFO, "Loading \"%s\"", argv[optind]); if (luaL_loadfile(L, argv[optind])) { moonbr_log(LOG_ERR, "Error while loading \"%s\": %s", argv[optind], lua_tostring(L, -1));