[asterisk-commits] russell: branch russell/indications r174745 - /team/russell/indications/apps/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 10 14:40:54 CST 2009
Author: russell
Date: Tue Feb 10 14:40:54 2009
New Revision: 174745
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=174745
Log:
once again, crashing is sad
Modified:
team/russell/indications/apps/app_playtones.c
Modified: team/russell/indications/apps/app_playtones.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/indications/apps/app_playtones.c?view=diff&rev=174745&r1=174744&r2=174745
==============================================================================
--- team/russell/indications/apps/app_playtones.c (original)
+++ team/russell/indications/apps/app_playtones.c Tue Feb 10 14:40:54 2009
@@ -85,7 +85,7 @@
ts = ast_get_indication_tone(chan->zone, str);
- if (!ast_strlen_zero(ts->data)) {
+ if (ts && !ast_strlen_zero(ts->data)) {
res = ast_playtones_start(chan, 0, ts->data, 0);
} else {
res = ast_playtones_start(chan, 0, str, 0);
More information about the asterisk-commits
mailing list