mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Merged revisions 69392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r69392 | kpfleming | 2007-06-14 16:50:40 -0500 (Thu, 14 Jun 2007) | 2 lines use ast_localtime() in every place localtime_r() was being used ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -2290,9 +2290,9 @@ static int action_corestatus(struct mansession *s, const struct message *m) | ||||
| 	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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user