]> sjero.net Git - linphone/blobdiff - coreapi/linphonecore.c
Merge branch 'master' of git.sv.gnu.org:/srv/git/linphone
[linphone] / coreapi / linphonecore.c
index 36e42b1f2456e10911dd84b7a5157e58d3bae614..8a7140fb529eb56a89ef3e5a744d11796a875971 100644 (file)
@@ -435,13 +435,13 @@ static void sound_config_read(LinphoneCore *lc)
        tmpbuf=PACKAGE_SOUND_DIR "/" LOCAL_RING;
        tmpbuf=lp_config_get_string(lc->config,"sound","local_ring",tmpbuf);
        if (ortp_file_exist(tmpbuf)==-1) {
+               ms_warning("%s does not exist",tmpbuf);
                tmpbuf=PACKAGE_SOUND_DIR "/" LOCAL_RING;
        }
        if (strstr(tmpbuf,".wav")==NULL){
                /* it currently uses old sound files, so replace them */
                tmpbuf=PACKAGE_SOUND_DIR "/" LOCAL_RING;
        }
-
        linphone_core_set_ring(lc,tmpbuf);
 
        tmpbuf=PACKAGE_SOUND_DIR "/" REMOTE_RING;