Changeset 6646fdb for functions.c
- Timestamp:
- Sep 7, 2011, 10:06:08 AM (13 years ago)
- Branches:
- master, release-1.10, release-1.9
- Children:
- 732d5c0, bcb84df
- Parents:
- 3b17b57
- git-author:
- David Benjamin <davidben@mit.edu> (08/01/11 02:03:32)
- git-committer:
- David Benjamin <davidben@mit.edu> (09/07/11 10:06:08)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r3b17b57 r6646fdb 1223 1223 now = time(NULL); 1224 1224 1225 tmpbuff = owl_util_ time_to_timestr(localtime(&now));1225 tmpbuff = owl_util_format_time(localtime(&now)); 1226 1226 fprintf(file, "[%d - %s - %lds]: ", 1227 1227 (int) getpid(), tmpbuff, now - owl_global_get_starttime(&g)); … … 1373 1373 owl_fmtext fm, attrfm; 1374 1374 const owl_view *v; 1375 char *time; 1375 1376 #ifdef HAVE_LIBZEPHYR 1376 1377 const ZNotice_t *n; … … 1403 1404 } 1404 1405 1405 owl_fmtext_appendf_normal(&fm, " Time : %s\n", owl_message_get_timestr(m)); 1406 time = owl_message_format_time(m); 1407 owl_fmtext_appendf_normal(&fm, " Time : %s\n", time); 1408 g_free(time); 1406 1409 1407 1410 if (!owl_message_is_type_admin(m)) { … … 1776 1779 owl_fmtext_append_normal(&fm, "\n"); 1777 1780 1778 tmpbuff = owl_util_ time_to_timestr(localtime(&start));1781 tmpbuff = owl_util_format_time(localtime(&start)); 1779 1782 owl_fmtext_appendf_normal(&fm, " Startup Time: %s\n", tmpbuff); 1780 1783 g_free(tmpbuff); … … 3072 3075 idle=owl_buddy_get_idle_time(b); 3073 3076 if (idle!=0) { 3074 timestr=owl_util_ minutes_to_timestr(idle);3077 timestr=owl_util_format_minutes(idle); 3075 3078 } else { 3076 3079 timestr=g_strdup(""); … … 3401 3404 3402 3405 now = time(NULL); 3403 date = owl_util_ time_to_timestr(localtime(&now));3406 date = owl_util_format_time(localtime(&now)); 3404 3407 3405 3408 buff = g_strdup_printf("%s %s", date, string);
Note: See TracChangeset
for help on using the changeset viewer.