Changeset 615

Show
Ignore:
Timestamp:
07/23/05 16:45:43 (3 years ago)
Author:
jajcus
Message:

- use the right timestamp

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/presence.c

    r614 r615  
    196196                struct tm *t; 
    197197                char str[21]; 
    198                 time_t ts; 
    199  
    200                 ts=time(NULL); 
     198                time_t ts=(time_t)timestamp; 
     199 
    201200                t=localtime(&ts); 
    202                 timestamp=ts; 
    203201                strftime(str,20,"%Y%m%dT%T",t); 
    204202                n=xmlnode_insert_tag(pres,"x");