[svn-commits] rmudgett: branch 1.8 r407337 - in /branches/1.8: include/asterisk/ main/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Feb 4 13:48:06 CST 2014


Author: rmudgett
Date: Tue Feb  4 13:48:02 2014
New Revision: 407337

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=407337
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

Modified:
    branches/1.8/include/asterisk/devicestate.h
    branches/1.8/main/devicestate.c

Modified: branches/1.8/include/asterisk/devicestate.h
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/include/asterisk/devicestate.h?view=diff&rev=407337&r1=407336&r2=407337
==============================================================================
--- branches/1.8/include/asterisk/devicestate.h (original)
+++ branches/1.8/include/asterisk/devicestate.h Tue Feb  4 13:48:02 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/1.8/main/devicestate.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/devicestate.c?view=diff&rev=407337&r1=407336&r2=407337
==============================================================================
--- branches/1.8/main/devicestate.c (original)
+++ branches/1.8/main/devicestate.c Tue Feb  4 13:48:02 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 svn-commits mailing list