Changeset 767


Ignore:
Timestamp:
Oct 13, 2006 1:48:56 PM (14 years ago)
Author:
bennylp
Message:

Fixed bug in log length calculation (null character was included) [thanks Klaus Darilion]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/log.c

    r672 r767  
    152152            log_buffer[len++] = '\n'; 
    153153        } 
    154         log_buffer[len++] = '\0'; 
     154        log_buffer[len] = '\0'; 
    155155    } else { 
    156156        len = sizeof(log_buffer)-1; 
Note: See TracChangeset for help on using the changeset viewer.