Changeset 817


Ignore:
Timestamp:
Aug 22, 2006, 2:32:46 AM (15 years ago)
Author:
joshe
Message:

Add time to messages.

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r815 r817  
    3636# define PRIu64 "lld"
    3737#endif
     38#include <time.h>
    3839
    3940#define SHA_DIGEST_LENGTH 20
     
    354355{
    355356    int                    level;
     357    time_t                 when;
    356358    char                 * message;
    357359    struct tr_msg_list_s * next;
  • trunk/libtransmission/utils.c

    r815 r817  
    115115            {
    116116                newmsg->level = level;
     117                newmsg->when = time( NULL );
    117118                vasprintf( &newmsg->message, msg, args );
    118119                if( NULL == newmsg->message )
Note: See TracChangeset for help on using the changeset viewer.