Navigation


Changeset 1222:1020da0ea4bc in freeDiameter


Ignore:
Timestamp:
Jul 15, 2013, 10:08:02 PM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Fix dumping of time stamps.

"conv" was used uninitialized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/dictionary_functions.c

    r1136 r1222  
    323323        }
    324324       
     325        CHECK_MALLOC_DO ( gmtime_r(&val, &conv), return NULL);
    325326        CHECK_MALLOC_DO( fd_dump_extend(FD_DUMP_STD_PARAMS, "%d%02d%02dT%02d%02d%02d+00", conv.tm_year+1900, conv.tm_mon+1, conv.tm_mday, conv.tm_hour, conv.tm_min, conv.tm_sec), return NULL);
    326327        return *buf;
Note: See TracChangeset for help on using the changeset viewer.