mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Convert spaces to tabs for indentation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2170,9 +2170,8 @@ static int action_coresettings(struct mansession *s, const struct message *m)
|
||||
const char *actionid = astman_get_header(m, "ActionID");
|
||||
char idText[150];
|
||||
|
||||
if (!ast_strlen_zero(actionid)) {
|
||||
snprintf(idText, sizeof(idText), "ActionID: %s\r\n", actionid);
|
||||
}
|
||||
if (!ast_strlen_zero(actionid))
|
||||
snprintf(idText, sizeof(idText), "ActionID: %s\r\n", actionid);
|
||||
|
||||
astman_append(s, "Response: Success\r\n"
|
||||
"%s"
|
||||
@@ -2218,9 +2217,9 @@ static int action_corestatus(struct mansession *s, const struct message *m)
|
||||
char reloadtime[150];
|
||||
struct tm tm;
|
||||
|
||||
if (!ast_strlen_zero(actionid)) {
|
||||
snprintf(idText, sizeof(idText), "ActionID: %s\r\n", actionid);
|
||||
}
|
||||
if (!ast_strlen_zero(actionid))
|
||||
snprintf(idText, sizeof(idText), "ActionID: %s\r\n", actionid);
|
||||
|
||||
localtime_r(&ast_startuptime, &tm);
|
||||
strftime(startuptime, sizeof(startuptime), "%H:%M:%S", &tm);
|
||||
localtime_r(&ast_lastreloadtime, &tm);
|
||||
|
Reference in New Issue
Block a user