summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e933f93)
raw | patch | inline | side by side (parent: e933f93)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Sun, 11 Aug 2019 12:44:47 +0000 (15:44 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Sun, 11 Aug 2019 12:44:47 +0000 (15:44 +0300) |
src/mastersrv/master.c | patch | blob | history |
diff --git a/src/mastersrv/master.c b/src/mastersrv/master.c
index 304f6b532ff2f0957187ea75c5326fb57a803e9b..1dfed7ddfa601eb7ad72d6e54565cc6fe6259481 100644 (file)
--- a/src/mastersrv/master.c
+++ b/src/mastersrv/master.c
enet_uint8 proto = 0;
enet_uint8 pw = 0;
while (!shutdown) {
- while (enet_host_service(ms_host, &event, 1) > 0) {
+ while (enet_host_service(ms_host, &event, 5000) > 0) {
switch (event.type) {
case ENET_EVENT_TYPE_CONNECT:
printf(LC_MS_CONN, event.peer->address.host, event.peer->address.port);