[asterisk-commits] trunk r9718 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Feb 12 12:19:20 MST 2006


Author: russell
Date: Sun Feb 12 13:19:19 2006
New Revision: 9718

URL: http://svn.digium.com/view/asterisk?rev=9718&view=rev
Log:
set peername after recent function updates

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=9718&r1=9717&r2=9718&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun Feb 12 13:19:19 2006
@@ -9343,7 +9343,7 @@
 int function_sippeer(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len)
 {
 	struct sip_peer *peer;
-	char *peername, *colname;
+	char *peername = data, *colname;
 	char iabuf[INET_ADDRSTRLEN];
 
 	if ((colname = strchr(data, ':')))



More information about the asterisk-commits mailing list