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  
    4545        memset(obj,0,sizeof(LinphoneProxyConfig));
    4646        obj->magic=linphone_proxy_config_magic;
    4747        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));
    4949        obj->dial_escape_plus=LP_CONFIG_DEFAULT_INT((lc?lc->config:NULL),"dial_escape_plus",0);
    5050        obj->privacy=LP_CONFIG_DEFAULT_INT((lc?lc->config:NULL),"privacy",LinphonePrivacyDefault);
    5151}