[asterisk-commits] rmudgett: branch 11 r407338 - in /branches/11: ./ include/asterisk/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 4 13:56:11 CST 2014
Author: rmudgett
Date: Tue Feb 4 13:56:05 2014
New Revision: 407338
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=407338
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
Modified:
branches/11/ (props changed)
branches/11/include/asterisk/devicestate.h
branches/11/main/devicestate.c
Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/11/include/asterisk/devicestate.h
URL: http://svnview.digium.com/svn/asterisk/branches/11/include/asterisk/devicestate.h?view=diff&rev=407338&r1=407337&r2=407338
==============================================================================
--- branches/11/include/asterisk/devicestate.h (original)
+++ branches/11/include/asterisk/devicestate.h Tue Feb 4 13:56:05 2014
@@ -129,7 +129,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: branches/11/main/devicestate.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/devicestate.c?view=diff&rev=407338&r1=407337&r2=407338
==============================================================================
--- branches/11/main/devicestate.c (original)
+++ branches/11/main/devicestate.c Tue Feb 4 13:56:05 2014
@@ -505,7 +505,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