]> sjero.net Git - linphone/commitdiff
Merge branch 'master' of git.linphone.org:linphone
authorSimon Morlat <simon.morlat@linphone.org>
Tue, 6 Nov 2012 17:20:34 +0000 (18:20 +0100)
committerSimon Morlat <simon.morlat@linphone.org>
Tue, 6 Nov 2012 17:20:34 +0000 (18:20 +0100)
coreapi/linphonecore.c

index 9200aadf8361ef73767c4327a3c85d97b8c13bea..381a60258b9554d437a6064d4444299d512762b9 100644 (file)
@@ -3207,6 +3207,9 @@ int linphone_core_send_publish(LinphoneCore *lc,
 **/
 void linphone_core_set_inc_timeout(LinphoneCore *lc, int seconds){
        lc->sip_conf.inc_timeout=seconds;
+       if (linphone_core_ready(lc)){
+               lp_config_set_int(lc->config,"sip","inc_timeout",seconds);
+       }
 }
 
 /**