[asterisk-commits] seanbright: trunk r138779 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 18 19:09:38 CDT 2008


Author: seanbright
Date: Mon Aug 18 19:09:38 2008
New Revision: 138779

URL: http://svn.digium.com/view/asterisk?view=rev&rev=138779
Log:
And remove code we don't need anymore.

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=138779&r1=138778&r2=138779
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Aug 18 19:09:38 2008
@@ -12268,7 +12268,6 @@
 {
 	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 @@
 
 	ASTOBJ_CONTAINER_TRAVERSE(&regl, 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"




More information about the asterisk-commits mailing list