[asterisk-bugs] [Asterisk 0013017]: [patch] spaces after newlines in logging

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 7 15:25:08 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13017 
====================================================================== 
Reported By:                jpgrayson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13017
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-07-2008 15:21 CDT
Last Modified:              07-07-2008 15:25 CDT
====================================================================== 
Summary:                    [patch] spaces after newlines in logging
Description: 
In chan_iax2, there are two log messages that have a superfluous space
character after the newline: "blah\n ".

This causes the subsequent log message to start in column 1 instead of
column 0.
====================================================================== 

---------------------------------------------------------------------- 
 jpgrayson - 07-07-08 15:25  
---------------------------------------------------------------------- 
I added a second trivial whitespace patch that simply adds a newline
character after the closing brace of some function definitions.

int foo()
{
  ...
}
int bar()
{
  ...
}

becomes

int foo()
{
  ...
}

int bar()
{
  ...
} 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-07-08 15:25  jpgrayson      Note Added: 0089859                          
======================================================================




More information about the asterisk-bugs mailing list