[Home]

Summary:ASTERISK-02365: [patch] fix padding of field in iax2 debug output to aid readability
Reporter:kb1_kanobe2 (kb1_kanobe2)Labels:
Date Opened:2004-09-08 00:37:19Date Closed:2008-01-15 15:07:03.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-iax2-fixdebugpadding.diff
Description:This trivial patch adds a padding space to the retry counter displayed by output of 'iax2 debug' to aid field alignment and readability between Tx and Rx frame outputs.

****** ADDITIONAL INFORMATION ******

'retries', in iax2-parser.c generally carries a format of '%03d', a value of 'Yes' or a value of 'No'. The use of %03d implies a leading space to pad 'No' to three characters.

'nuff said.
Comments:By: Mark Spencer (markster) 2004-09-08 21:33:57

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:07:03.000-0600

Repository: asterisk
Revision: 3748

U   trunk/channels/iax2-parser.c

------------------------------------------------------------------------
r3748 | markster | 2008-01-15 15:07:03 -0600 (Tue, 15 Jan 2008) | 2 lines

Minor formatting fixup (bug ASTERISK-2365)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3748