[svn-commits] file: trunk r40599 - /trunk/res/res_features.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Sat Aug 19 21:25:28 MST 2006
Author: file
Date: Sat Aug 19 23:25:28 2006
New Revision: 40599
URL: http://svn.digium.com/view/asterisk?rev=40599&view=rev
Log:
Properly check to see if parkingnum is a number (issue #7762 reported by robf)
Modified:
trunk/res/res_features.c
Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?rev=40599&r1=40598&r2=40599&view=diff
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Sat Aug 19 23:25:28 2006
@@ -422,7 +422,7 @@
notify_metermaids(pu->parkingexten, parking_con);
}
/* Tell the peer channel the number of the parking space */
- if (peer && !pu->parkingnum == -1) /* Only say number if it's a number */
+ if (peer && pu->parkingnum != -1) /* Only say number if it's a number */
ast_say_digits(peer, pu->parkingnum, "", peer->language);
if (pu->notquiteyet) {
/* Wake up parking thread if we're really done */
More information about the svn-commits
mailing list