Ignore:
Timestamp:
Aug 11, 2008, 7:05:00 PM (13 years ago)
Author:
charles
Message:

(1.3x) lots of C correctness tweaks suggested by sparse/cgcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3x/libtransmission/makemeta.c

    r6485 r6489  
    383383            tr_bencDictAddStr( &top, "comment", builder->comment );
    384384        tr_bencDictAddStr( &top, "created by", TR_NAME "/" LONG_VERSION_STRING );
    385         tr_bencDictAddInt( &top, "creation date", time(0) );
     385        tr_bencDictAddInt( &top, "creation date", time(NULL) );
    386386        tr_bencDictAddStr( &top, "encoding", "UTF-8" );
    387387        makeInfoDict( tr_bencDictAddDict( &top, "info", 666 ), builder );
Note: See TracChangeset for help on using the changeset viewer.