]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
zigged where we should have zagged
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 7 Oct 2008 22:58:24 +0000 (22:58 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 7 Oct 2008 22:58:24 +0000 (22:58 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9888 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_voicemail/mod_voicemail.c

index 0011b3a7d9adc277600313a302e2c37abb70bfdf..1031132c870efef753e26226765b801010a73d4d 100644 (file)
@@ -1994,7 +1994,7 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro
                                }
 
                                if (!auth) {
-                                       if (switch_strlen_zero(cbt.password) && !strcmp(cbt.password, mypass)) {
+                                       if (!switch_strlen_zero(cbt.password) && !strcmp(cbt.password, mypass)) {
                                                auth++;
                                        } else if (!thepass) {
                                                auth++;