Fixed buildscript
This commit is contained in:
parent
925229bbda
commit
7de352ce1c
@ -150,7 +150,18 @@ struct CAWebChat {
|
||||
"backend_logic/server_data_interact.cpp",
|
||||
"backend_logic/client_server_interact.cpp",
|
||||
|
||||
"backend_logic/when_login.cpp",
|
||||
"backend_logic/when_list_rooms.cpp",
|
||||
"backend_logic/when_chat.cpp",
|
||||
"backend_logic/when_user.cpp",
|
||||
"backend_logic/polling.cpp",
|
||||
"backend_logic/api_sendmessage.cpp",
|
||||
"backend_logic/api_deletemessage.cpp",
|
||||
"backend_logic/api_addmembertochat.cpp",
|
||||
"backend_logic/api_removememberfromchat.cpp",
|
||||
"backend_logic/api_createchat.cpp",
|
||||
"backend_logic/api_leavechat.cpp",
|
||||
"backend_logic/admin_control_procedure.cpp",
|
||||
};
|
||||
for (std::string& u: T.units)
|
||||
u = "web_chat/iu9_ca_web_chat_lib/" + u;
|
||||
|
@ -260,8 +260,8 @@ namespace een9 {
|
||||
ret = poll(pollfds.data(), Nip, params.mainloop_recheck_interval_us);
|
||||
if (ret != 0 && errno != 0) {
|
||||
printf("poll() error :> %s\n", een9::prettyprint_errno("").c_str());
|
||||
continue;
|
||||
}
|
||||
ASSERT_on_iret(ret, "poll()");
|
||||
for (size_t i = 0; i < Nip; i++) {
|
||||
if ((pollfds[i].revents & POLLRDNORM)) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user