From 10091bbca1380a1d8e3b9d61b8c175490036af5b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 Dec 2016 22:21:55 +0300 Subject: old shit died now there's no need to create fake services & events --- protocols/Sametime/src/glib/gpoll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Sametime') 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; -- cgit v1.2.3