moonbridge
changeset 17:78694b82078f
Removed C++ style comments (use C style comments)
author | jbe |
---|---|
date | Thu Jan 29 21:29:15 2015 +0100 (2015-01-29) |
parents | bf7d3921872d |
children | 2bdea79e5860 |
files | moonbridge.c |
line diff
1.1 --- a/moonbridge.c Thu Jan 29 20:34:12 2015 +0100 1.2 +++ b/moonbridge.c Thu Jan 29 21:29:15 2015 +0100 1.3 @@ -507,7 +507,7 @@ 1.4 struct moonbr_listener *listener = &pool->listener[i]; 1.5 switch (listener->proto) { 1.6 case MOONBR_PROTO_INTERVAL: 1.7 - // nothing to do here: starting intervals is performed in moonbr_run() function 1.8 + /* nothing to do here: starting intervals is performed in moonbr_run() function */ 1.9 if (!listener->proto_specific.interval.name) { 1.10 moonbr_log(LOG_INFO, "Adding unnamed interval listener"); 1.11 } else { 1.12 @@ -2519,7 +2519,7 @@ 1.13 lua_pushnil(L); 1.14 lua_rawsetp(L, LUA_REGISTRYINDEX, moonbr_luakey_finish_func(pool)); 1.15 lua_error(L); 1.16 - return 0; // avoid compiler warning 1.17 + return 0; /* avoid compiler warning */ 1.18 } 1.19 1.20 1.21 @@ -2730,7 +2730,7 @@ 1.22 lua_setglobal(L, "timeout"); 1.23 lua_pushcfunction(L, moonbr_listen); 1.24 lua_setglobal(L, "listen"); 1.25 - lua_pushcfunction(L, moonbr_addtraceback); // on stack position 1 1.26 + lua_pushcfunction(L, moonbr_addtraceback); /* on stack position 1 */ 1.27 moonbr_log(LOG_INFO, "Loading \"%s\"", argv[optind]); 1.28 if (luaL_loadfile(L, argv[optind])) { 1.29 moonbr_log(LOG_ERR, "Error while loading \"%s\": %s", argv[optind], lua_tostring(L, -1));