[asterisk-commits] oej: branch oej/moremanager r88509 - /team/oej/moremanager/main/manager.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Nov 5 07:03:44 CST 2007
Author: oej
Date: Mon Nov 5 07:03:43 2007
New Revision: 88509
URL: http://svn.digium.com/view/asterisk?view=rev&rev=88509
Log:
Implementing ast_localtime as advised...
Modified:
team/oej/moremanager/main/manager.c
Modified: team/oej/moremanager/main/manager.c
URL: http://svn.digium.com/view/asterisk/team/oej/moremanager/main/manager.c?view=diff&rev=88509&r1=88508&r2=88509
==============================================================================
--- team/oej/moremanager/main/manager.c (original)
+++ team/oej/moremanager/main/manager.c Mon Nov 5 07:03:43 2007
@@ -2087,9 +2087,9 @@
if (!ast_strlen_zero(actionid)) {
snprintf(idText, sizeof(idText), "ActionID: %s\r\n", actionid);
}
- localtime_r(&ast_startuptime, &tm);
+ ast_localtime(&ast_startuptime, &tm, NULL);
strftime(startuptime, sizeof(startuptime), "%H:%M:%S", &tm);
- localtime_r(&ast_lastreloadtime, &tm);
+ ast_localtime(&ast_lastreloadtime, &tm, NULL);
strftime(reloadtime, sizeof(reloadtime), "%H:%M:%S", &tm);
astman_append(s, "Response: Success\r\n"
More information about the asterisk-commits
mailing list