diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-02 22:21:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-02 22:21:55 +0300 |
commit | 10091bbca1380a1d8e3b9d61b8c175490036af5b (patch) | |
tree | b08bd16212909ac1b72bfefaa70ab71b4e63974d /protocols/Sametime/src | |
parent | 2347a641948e9082b0e842eb0a8480abdfba09e0 (diff) |
old shit died
now there's no need to create fake services & events
Diffstat (limited to 'protocols/Sametime/src')
-rw-r--r-- | protocols/Sametime/src/glib/gpoll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Sametime/src/glib/gpoll.c b/protocols/Sametime/src/glib/gpoll.c index 940abae38f..e9410c7ded 100644 --- a/protocols/Sametime/src/glib/gpoll.c +++ b/protocols/Sametime/src/glib/gpoll.c @@ -261,7 +261,7 @@ g_poll (GPollFD *fds, guint nfds, gint timeout) { - HANDLE handles[MAXIMUM_WAIT_OBJECTS]; + HANDLE handles[64]; gboolean poll_msgs = FALSE; GPollFD *f; gint nhandles = 0; @@ -291,7 +291,7 @@ g_poll (GPollFD *fds, if (i == nhandles) { - if (nhandles == MAXIMUM_WAIT_OBJECTS) + if (nhandles == _countof(handles)) { g_warning ("Too many handles to wait for!\n"); break; |