diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 23b9dece45..b383c396f1 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Thu Jul 9 19:52:59 CDT 2009 +Thu Jul 9 19:53:33 CDT 2009 diff --git a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source.c b/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source.c index 792bf7a746..4237ead3f5 100644 --- a/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source.c +++ b/libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source.c @@ -427,20 +427,21 @@ gboolean su_source_check(GSource *gs) SuSource *ss = (SuSource *)gs; su_port_t *self = ss->ss_port; gint tout; - unsigned I; +#if SU_HAVE_POLL + unsigned i, I; +#endif enter; +#if SU_HAVE_POLL I = self->sup_n_waits; -#if SU_HAVE_POLL - unsigned i; for (i = 0; i < I; i++) { if (self->sup_waits[i].revents) return TRUE; } #endif - (void)I; + return su_source_prepare(gs, &tout); }