[telepathy-sofiasip/master] Don't call su_root_set_max_defer() unless IPHB is in use
Mikhail Zabaluev
mikhail.zabaluev at nokia.com
Wed Sep 30 07:27:21 PDT 2009
This function didn't make it to a stable release of Sofia-SIP.
iphb is only available on Maemo 5, where we have a newer sofia-sip
snapshot as well.
---
src/sip-connection-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/sip-connection-manager.c b/src/sip-connection-manager.c
index 77118d2..97abe41 100644
--- a/src/sip-connection-manager.c
+++ b/src/sip-connection-manager.c
@@ -220,7 +220,9 @@ tpsip_connection_manager_init (TpsipConnectionManager *obj)
source = su_root_gsource(priv->sofia_root);
g_source_attach(source, NULL);
+#ifdef HAVE_LIBIPHB
su_root_set_max_defer (priv->sofia_root, TPSIP_DEFER_TIMEOUT * 1000L);
+#endif
}
static void tpsip_connection_manager_finalize (GObject *object);
--
1.5.6.5
More information about the telepathy-commits
mailing list