- Timestamp:
- Jul 22, 2011, 7:20:26 PM (13 years ago)
- Children:
- 85bb19b
- Parents:
- f661cee
- git-author:
- Jason Gross <jgross@mit.edu> (07/22/11 10:43:43)
- git-committer:
- Jason Gross <jgross@mit.edu> (07/22/11 19:20:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
message.c
r6500907 r11e78d5 46 46 47 47 /* save the time */ 48 m->time=time(NULL); 49 m->timestr=g_strdup(ctime(&(m->time))); 50 m->timestr[strlen(m->timestr)-1]='\0'; 48 m->time = time(NULL); 49 m->timestr = owl_util_time_to_timestr(localtime(&m->time)); 51 50 52 51 m->fmtext = NULL; … … 796 795 /* save the time, we need to nuke the string saved by message_init */ 797 796 if (m->timestr) g_free(m->timestr); 798 m->time=n->z_time.tv_sec; 799 m->timestr=g_strdup(ctime(&(m->time))); 800 m->timestr[strlen(m->timestr)-1]='\0'; 797 m->time = n->z_time.tv_sec; 798 m->timestr = owl_util_time_to_timestr(localtime(&m->time)); 801 799 802 800 /* set other info */
Note: See TracChangeset
for help on using the changeset viewer.