Changeset 615
- Timestamp:
- 07/23/05 16:45:43 (3 years ago)
- Files:
-
- trunk/src/presence.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/presence.c
r614 r615 196 196 struct tm *t; 197 197 char str[21]; 198 time_t ts; 199 200 ts=time(NULL); 198 time_t ts=(time_t)timestamp; 199 201 200 t=localtime(&ts); 202 timestamp=ts;203 201 strftime(str,20,"%Y%m%dT%T",t); 204 202 n=xmlnode_insert_tag(pres,"x");
