From: Mark Michelson Date: Mon, 27 Aug 2012 21:24:30 +0000 (+0000) Subject: Fix incorrect documentation of the MailboxStatus manager command. X-Git-Tag: 1.8.17.0-rc1~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25e6cee37057c075777efa1a24b8a1232c95af1e;p=thirdparty%2Fasterisk.git 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. (closes issue AST-975) reported by John Bigelow git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@371782 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager.c b/main/manager.c index cdb901d84d..13670eb03e 100644 --- a/main/manager.c +++ b/main/manager.c @@ -541,7 +541,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Returns number of messages. Message: Mailbox Status. Mailbox: mailboxid. - Waiting: count. + Waiting: 0 if messages waiting, 1 + if no messages waiting.