Ticket #39719: patch-coreapi-proxy.c.diff
File patch-coreapi-proxy.c.diff, 704 bytes (added by gallafent, 10 years ago) |
---|
-
coreapi/proxy.c
old new 45 45 memset(obj,0,sizeof(LinphoneProxyConfig)); 46 46 obj->magic=linphone_proxy_config_magic; 47 47 obj->expires=LP_CONFIG_DEFAULT_INT((lc?lc->config:NULL),"reg_expires",3600); 48 obj->dial_prefix=ms_strdup(LP_CONFIG_DEFAULT_STRING((lc?lc->config:NULL),"dial_prefix", '\0'));48 obj->dial_prefix=ms_strdup(LP_CONFIG_DEFAULT_STRING((lc?lc->config:NULL),"dial_prefix",NULL)); 49 49 obj->dial_escape_plus=LP_CONFIG_DEFAULT_INT((lc?lc->config:NULL),"dial_escape_plus",0); 50 50 obj->privacy=LP_CONFIG_DEFAULT_INT((lc?lc->config:NULL),"privacy",LinphonePrivacyDefault); 51 51 }