Changeset 3045


Ignore:
Timestamp:
Jan 5, 2010 3:23:43 PM (14 years ago)
Author:
bennylp
Message:

Misc (#1003): fixed bug: wrong month value in PIDF timestamp generation (thanks Johan Lantz for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-simple/presence_body.c

    r2877 r3045  
    125125          tslen = pj_ansi_snprintf(buf, sizeof(buf), 
    126126                                   "%04d-%02d-%02dT%02d:%02d:%02d.%03dZ", 
    127                                    pt.year, pt.mon, pt.day,  
     127                                   pt.year, pt.mon+1, pt.day,  
    128128                                   pt.hour, pt.min, pt.sec, pt.msec); 
    129129          if (tslen > 0 && tslen < sizeof(buf)) { 
Note: See TracChangeset for help on using the changeset viewer.