[Asterisk-cvs] asterisk/channels chan_sip.c,1.513,1.514

markster at lists.digium.com markster at lists.digium.com
Fri Oct 1 22:29:31 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv32226/channels

Modified Files:
	chan_sip.c 
Log Message:
Fix littlet ypo


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.513
retrieving revision 1.514
diff -u -d -r1.513 -r1.514
--- chan_sip.c	2 Oct 2004 01:56:08 -0000	1.513
+++ chan_sip.c	2 Oct 2004 02:31:36 -0000	1.514
@@ -5397,7 +5397,7 @@
 			if (!ast_strlen_zero(user->cid_num) && !ast_strlen_zero(p->cid_num)) 
 				strncpy(p->cid_num, user->cid_num, sizeof(p->cid_num) - 1);
 			if (!ast_strlen_zero(user->cid_name) && !ast_strlen_zero(p->cid_name)) 
-				strncpy(p->cid_num, user->cid_name, sizeof(p->cid_name) - 1);
+				strncpy(p->cid_name, user->cid_name, sizeof(p->cid_name) - 1);
 			strncpy(p->username, user->name, sizeof(p->username) - 1);
 			strncpy(p->peersecret, user->secret, sizeof(p->peersecret) - 1);
 			strncpy(p->peermd5secret, user->md5secret, sizeof(p->peermd5secret) - 1);




More information about the svn-commits mailing list