summaryrefslogtreecommitdiff
path: root/protocols/Sametime/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-02 22:21:55 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-02 22:21:55 +0300
commit10091bbca1380a1d8e3b9d61b8c175490036af5b (patch)
treeb08bd16212909ac1b72bfefaa70ab71b4e63974d /protocols/Sametime/src
parent2347a641948e9082b0e842eb0a8480abdfba09e0 (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.c4
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;