From 4b84c438117f6b734320e6d674503fe970859b49 Mon Sep 17 00:00:00 2001 From: Mark Spencer <markster@digium.com> Date: Sun, 9 May 2004 23:40:49 +0000 Subject: [PATCH] More minor bkw fixes git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2940 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c1ad16ee68..d2c25fdc4d 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3681,6 +3681,7 @@ static int parse_contact(struct sip_pvt *pvt, struct sip_peer *p, struct sip_req p->expire = -1; ast_db_del("SIP/Registry", p->name); strcpy(p->useragent, ""); + p->lastms = 0; if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3 "Unregistered SIP '%s'\n", p->name); return 0; @@ -4927,7 +4928,7 @@ static int __sip_show_channels(int fd, int argc, char *argv[], int subscriptions { #define FORMAT3 "%-15.15s %-10.10s %-21.21s %-15.15s\n" #define FORMAT2 "%-15.15s %-10.10s %-11.11s %-11.11s %s\n" -#define FORMAT "%-15.15s %-10.10s %-11.11s %5.5d/%5.5d %-6.6s%s\n" +#define FORMAT "%-15.15s %-10.10s %-11.11s %5.5d/%5.5d %-6.6s%s\n" struct sip_pvt *cur; int numchans = 0; if (argc != 3) -- GitLab