[asterisk-commits] russell: trunk r96645 - in /trunk: ./ main/devicestate.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 4 20:12:11 CST 2008
Author: russell
Date: Fri Jan 4 20:12:10 2008
New Revision: 96645
URL: http://svn.digium.com/view/asterisk?view=rev&rev=96645
Log:
Merged revisions 96644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r96644 | russell | 2008-01-04 20:09:19 -0600 (Fri, 04 Jan 2008) | 2 lines
Don't pass an empty string as the device name.
........
Modified:
trunk/ (props changed)
trunk/main/devicestate.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/devicestate.c
URL: http://svn.digium.com/view/asterisk/trunk/main/devicestate.c?view=diff&rev=96645&r1=96644&r2=96645
==============================================================================
--- trunk/main/devicestate.c (original)
+++ trunk/main/devicestate.c Fri Jan 4 20:12:10 2008
@@ -466,7 +466,7 @@
*/
if (!norecurse && (tmp = strrchr(device, '-'))) {
*tmp = '\0';
- __ast_devstate_changed_literal(state, tmp, 1);
+ __ast_devstate_changed_literal(state, device, 1);
}
return 1;
More information about the asterisk-commits
mailing list