[zaptel-commits] sruffell: branch sruffell/voicebus r3948 - /team/sruffell/voicebus/kernel/
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Wed Mar 5 18:06:54 CST 2008
Author: sruffell
Date: Wed Mar 5 18:06:53 2008
New Revision: 3948
URL: http://svn.digium.com/view/zaptel?view=rev&rev=3948
Log:
Minor change to shorten the window of opportunity for multiple warning that no
tone zone was loaded.
Modified:
team/sruffell/voicebus/kernel/zaptel-base.c
Modified: team/sruffell/voicebus/kernel/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/team/sruffell/voicebus/kernel/zaptel-base.c?view=diff&rev=3948&r1=3947&r2=3948
==============================================================================
--- team/sruffell/voicebus/kernel/zaptel-base.c (original)
+++ team/sruffell/voicebus/kernel/zaptel-base.c Wed Mar 5 18:06:53 2008
@@ -1144,9 +1144,9 @@
} else if (!chan->curzone) {
static int __warnonce = 1;
if (__warnonce) {
+ __warnonce = 0;
/* The tonezones are loaded by ztcfg based on /etc/zaptel.conf. */
printk(KERN_WARNING "zaptel: Cannot start tones until tone zone is loaded.\n");
- __warnonce = 0;
}
/* Note that no tone zone exists at the moment */
res = -ENODATA;
More information about the zaptel-commits
mailing list