fix indentation from a commit of a couple of days ago

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Luigi Rizzo 19 years ago
parent 8e63fb21da
commit becfe17739

@ -1918,9 +1918,9 @@ static int process_message(struct mansession *s, struct message *m)
astman_send_error(s, m, "Missing action in request"); astman_send_error(s, m, "Missing action in request");
return 0; return 0;
} }
if (!ast_strlen_zero(id)) { if (!ast_strlen_zero(id))
snprintf(idText, sizeof(idText), "ActionID: %s\r\n", id); snprintf(idText, sizeof(idText), "ActionID: %s\r\n", id);
}
if (!strcasecmp(action, "Challenge")) { if (!strcasecmp(action, "Challenge")) {
char *authtype = astman_get_header(m, "AuthType"); char *authtype = astman_get_header(m, "AuthType");
@ -1942,7 +1942,7 @@ static int process_message(struct mansession *s, struct message *m)
sleep(1); sleep(1);
astman_send_error(s, m, "Authentication failed"); astman_send_error(s, m, "Authentication failed");
return -1; return -1;
} else { }
s->authenticated = 1; s->authenticated = 1;
if (option_verbose > 1) { if (option_verbose > 1) {
if (displayconnects) { if (displayconnects) {
@ -1953,7 +1953,6 @@ static int process_message(struct mansession *s, struct message *m)
astman_send_ack(s, m, "Authentication accepted"); astman_send_ack(s, m, "Authentication accepted");
return 0; return 0;
} }
}
{ {
struct manager_action *tmp; struct manager_action *tmp;
ast_mutex_lock(&s->__lock); ast_mutex_lock(&s->__lock);

Loading…
Cancel
Save