[asterisk-commits] rmudgett: branch rmudgett/dahdi_ccss r245185 - /team/rmudgett/dahdi_ccss/chan...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Feb 5 17:02:37 CST 2010
Author: rmudgett
Date: Fri Feb 5 17:02:33 2010
New Revision: 245185
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=245185
Log:
Fix inverted logic test.
Modified:
team/rmudgett/dahdi_ccss/channels/chan_dahdi.c
Modified: team/rmudgett/dahdi_ccss/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/dahdi_ccss/channels/chan_dahdi.c?view=diff&rev=245185&r1=245184&r2=245185
==============================================================================
--- team/rmudgett/dahdi_ccss/channels/chan_dahdi.c (original)
+++ team/rmudgett/dahdi_ccss/channels/chan_dahdi.c Fri Feb 5 17:02:33 2010
@@ -12582,7 +12582,7 @@
return AST_DEVICE_UNKNOWN;
}
device = strchr(device, '/');
- if (device) {
+ if (!device) {
/* Bad format for ISDN span device name. */
return AST_DEVICE_UNKNOWN;
}
More information about the asterisk-commits
mailing list