[asterisk-commits] mmichelson: branch 1.8 r371782 - /branches/1.8/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 27 16:24:34 CDT 2012


Author: mmichelson
Date: Mon Aug 27 16:24:30 2012
New Revision: 371782

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=371782
Log:
Fix incorrect documentation of the MailboxStatus manager command.

The "Waiting" field was misdocumented as reporting the number of
messages waiting. In reality, it simply indicated the presence or
absence of waiting messages.


Modified:
    branches/1.8/main/manager.c

Modified: branches/1.8/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/manager.c?view=diff&rev=371782&r1=371781&r2=371782
==============================================================================
--- branches/1.8/main/manager.c (original)
+++ branches/1.8/main/manager.c Mon Aug 27 16:24:30 2012
@@ -541,7 +541,8 @@
 			<para>Returns number of messages.</para>
 			<para>Message: Mailbox Status.</para>
 			<para>Mailbox: <replaceable>mailboxid</replaceable>.</para>
-			<para>Waiting: <replaceable>count</replaceable>.</para>
+			<para>Waiting: <literal>0</literal> if messages waiting, <literal>1</literal>
+			if no messages waiting.</para>
 		</description>
 	</manager>
 	<manager name="MailboxCount" language="en_US">




More information about the asterisk-commits mailing list