[svn-commits] russell: branch 1.6.2 r294500 - /branches/1.6.2/main/devicestate.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Nov 10 06:41:56 CST 2010


Author: russell
Date: Wed Nov 10 06:41:41 2010
New Revision: 294500

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=294500
Log:
Improve a debug message to be more readable and consistent.

(closes issue #18282)
Reported by: klaus3000
Patches:
      ast_devstate2str-patch.txt uploaded by klaus3000 (license 65)

Modified:
    branches/1.6.2/main/devicestate.c

Modified: branches/1.6.2/main/devicestate.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/devicestate.c?view=diff&rev=294500&r1=294499&r2=294500
==============================================================================
--- branches/1.6.2/main/devicestate.c (original)
+++ branches/1.6.2/main/devicestate.c Wed Nov 10 06:41:41 2010
@@ -609,7 +609,8 @@
 
 	state = ast_devstate_aggregate_result(&agg);
 
-	ast_debug(1, "Aggregate devstate result is %d\n", state);
+	ast_debug(1, "Aggregate devstate result is '%s' for '%s'\n",
+		ast_devstate2str(state), device);
 
 	event = ast_event_get_cached(AST_EVENT_DEVICE_STATE,
 		AST_EVENT_IE_DEVICE, AST_EVENT_IE_PLTYPE_STR, device,




More information about the svn-commits mailing list