summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@nokia.com>2008-02-19 16:34:14 +0000
committerMikhail Zabaluev <mikhail.zabaluev@nokia.com>2008-02-19 16:34:14 +0000
commite50b130aa3891b6938d3615158092246cc0afffc (patch)
treef4c6f976c67c2925e5e10701b9f700bc26d5fbd4
parent67f3e4c3f363282dee7322be27f5eaac5a3147d0 (diff)
Specify -1 (stack decides) as the default value for 'keepalive-interval'
-rw-r--r--src/sip-connection-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sip-connection-manager.c b/src/sip-connection-manager.c
index 73633d2..8fe30cc 100644
--- a/src/sip-connection-manager.c
+++ b/src/sip-connection-manager.c
@@ -155,8 +155,7 @@ static const TpCMParamSpec sip_params[] = {
0, NULL, G_STRUCT_OFFSET (SIPConnParams, keepalive_mechanism) },
/* KA interval */
{ "keepalive-interval", DBUS_TYPE_INT32_AS_STRING, G_TYPE_INT,
- TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT, GINT_TO_POINTER(-1),
- G_STRUCT_OFFSET (SIPConnParams, keepalive_interval) },
+ 0, NULL, G_STRUCT_OFFSET (SIPConnParams, keepalive_interval) },
/* Use SRV DNS lookup to discover STUN server */
{ "discover-stun", DBUS_TYPE_BOOLEAN_AS_STRING, G_TYPE_BOOLEAN,
TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT, GUINT_TO_POINTER(TRUE),