[svn-commits] mvanbaak: branch mvanbaak/privacymanager_check_context r120827 - /team/mvanba...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Jun 5 14:47:54 CDT 2008
Author: mvanbaak
Date: Thu Jun 5 14:47:54 2008
New Revision: 120827
URL: http://svn.digium.com/view/asterisk?view=rev&rev=120827
Log:
need, more, coffee...
Modified:
team/mvanbaak/privacymanager_check_context/apps/app_privacy.c
Modified: team/mvanbaak/privacymanager_check_context/apps/app_privacy.c
URL: http://svn.digium.com/view/asterisk/team/mvanbaak/privacymanager_check_context/apps/app_privacy.c?view=diff&rev=120827&r1=120826&r2=120827
==============================================================================
--- team/mvanbaak/privacymanager_check_context/apps/app_privacy.c (original)
+++ team/mvanbaak/privacymanager_check_context/apps/app_privacy.c Thu Jun 5 14:47:54 2008
@@ -126,15 +126,15 @@
break;
/* Make sure we get at least digits */
- if (strlen(phone) >= minlength )
- if (ast_strlen_zero(args.checkcontext)) {
+ if (strlen(phone) >= minlength ) {
+ if (!ast_strlen_zero(args.checkcontext)) {
res = ast_exists_extension(NULL, args.checkcontext, phone, 1, NULL);
if (res)
break;
} else {
break;
}
- else {
+ } else {
res = ast_streamfile(chan, "privacy-incorrect", chan->language);
if (!res)
res = ast_waitstream(chan, "");
More information about the svn-commits
mailing list