[asterisk-commits] rmudgett: trunk r407340 - in /trunk: ./ include/asterisk/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 4 14:15:25 CST 2014
Author: rmudgett
Date: Tue Feb 4 14:15:22 2014
New Revision: 407340
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=407340
Log:
devicestate: Make ast_devstate_changed_literal() return value and doxygen consistent.
Nothing actually cares about the value anyway.
(closes issue ASTERISK-23178)
Reported by: Jonathan Rose
........
Merged revisions 407337 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 407338 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 407339 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
trunk/ (props changed)
trunk/include/asterisk/devicestate.h
trunk/main/devicestate.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: trunk/include/asterisk/devicestate.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/devicestate.h?view=diff&rev=407340&r1=407339&r2=407340
==============================================================================
--- trunk/include/asterisk/devicestate.h (original)
+++ trunk/include/asterisk/devicestate.h Tue Feb 4 14:15:22 2014
@@ -130,7 +130,6 @@
* active channels list for the device.
*
* \retval an AST_DEVICE_??? state
- * \retval -1 on failure
*/
enum ast_device_state ast_device_state(const char *device);
Modified: trunk/main/devicestate.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/devicestate.c?view=diff&rev=407340&r1=407339&r2=407340
==============================================================================
--- trunk/main/devicestate.c (original)
+++ trunk/main/devicestate.c Tue Feb 4 14:15:22 2014
@@ -463,7 +463,7 @@
AST_LIST_UNLOCK(&state_changes);
}
- return 1;
+ return 0;
}
int ast_device_state_changed_literal(const char *dev)
More information about the asterisk-commits
mailing list