From 1aba1bbca497aad3d7f88388d6253d0a11374a0a Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Wed, 12 May 2004 17:30:55 +0000
Subject: [PATCH] Minor cleanups (bug #1618 included)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/app_transfer.c | 2 +-
 channels/chan_sip.c | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/apps/app_transfer.c b/apps/app_transfer.c
index 5482a2f929..239161d585 100755
--- a/apps/app_transfer.c
+++ b/apps/app_transfer.c
@@ -1,7 +1,7 @@
 /*
  * Asterisk -- A telephony toolkit for Linux.
  *
- * Time of day - Report the time of day
+ * Transfer a caller
  * 
  * Copyright (C) 1999, Mark Spencer
  *
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index c38a3697dd..fa664ce945 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -467,7 +467,6 @@ static int globalcanreinvite = REINVITE_INVITE;
 
 
 static struct sockaddr_in bindaddr;
-static struct sockaddr_in localnet;
 static struct sockaddr_in externip;
 static struct ast_ha *localaddr;
 
@@ -7195,7 +7194,6 @@ static int reload_config(void)
 	sip_prefs_free();
 	
 	memset(&bindaddr, 0, sizeof(bindaddr));
-	memset(&localnet, 0, sizeof(localnet));
 	memset(&localaddr, 0, sizeof(localaddr));
 	memset(&externip, 0, sizeof(externip));
 
@@ -7274,7 +7272,7 @@ static int reload_config(void)
 			else
 				localaddr = na;
 		} else if (!strcasecmp(v->name, "localmask")) {
-			ast_log(LOG_WARNING, "Use of localmask is deprecated; use localnet with mask syntax\n");
+			ast_log(LOG_WARNING, "Use of localmask is no long supported -- use localnet with mask syntax\n");
 		} else if (!strcasecmp(v->name, "externip")) {
 			if (!(hp = ast_gethostbyname(v->value, &ahp))) 
 				ast_log(LOG_WARNING, "Invalid address for externip keyword: %s\n", v->value);
-- 
GitLab