And remove code we don't need anymore.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138779 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
3f625b928d
commit
dca43b1ba2
1 changed files with 0 additions and 6 deletions
|
@ -12268,7 +12268,6 @@ static int manager_show_registry(struct mansession *s, const struct message *m)
|
|||
{
|
||||
const char *id = astman_get_header(m, "ActionID");
|
||||
char idtext[256] = "";
|
||||
char tmpdat[256] = "";
|
||||
int total = 0;
|
||||
struct ast_tm tm;
|
||||
|
||||
|
@ -12279,11 +12278,6 @@ static int manager_show_registry(struct mansession *s, const struct message *m)
|
|||
|
||||
ASTOBJ_CONTAINER_TRAVERSE(®l, 1, do {
|
||||
ASTOBJ_RDLOCK(iterator);
|
||||
if (iterator->regtime.tv_sec) {
|
||||
ast_localtime(&iterator->regtime, &tm, NULL);
|
||||
ast_strftime(tmpdat, sizeof(tmpdat), "%a, %d %b %Y %T", &tm);
|
||||
} else
|
||||
tmpdat[0] = '\0';
|
||||
astman_append(s,
|
||||
"Event: RegistryEntry\r\n"
|
||||
"Host: %s\r\n"
|
||||
|
|
Reference in a new issue