Ignore:
Timestamp:
Aug 30, 2007 9:35:10 AM (17 years ago)
Author:
bennylp
Message:

Fixed ticket #365: couple of minor bugs with log decoration (thanks Thiago Paiva Flores)

File:
1 edited

Legend:

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

    r1405 r1425  
    103103    if (log_decor & PJ_LOG_HAS_MONTH) { 
    104104        *pre++ = '-'; 
    105         pre += pj_utoa_pad(ptime.mon, pre, 2, '0'); 
     105        pre += pj_utoa_pad(ptime.mon+1, pre, 2, '0'); 
    106106    } 
    107107    if (log_decor & PJ_LOG_HAS_DAY_OF_MON) { 
Note: See TracChangeset for help on using the changeset viewer.