[asterisk-commits] russell: branch 1.4 r47329 - /branches/1.4/channels/chan_gtalk.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 8 09:55:35 MST 2006


Author: russell
Date: Wed Nov  8 10:55:35 2006
New Revision: 47329

URL: http://svn.digium.com/view/asterisk?rev=47329&view=rev
Log:
Make this module build again

Modified:
    branches/1.4/channels/chan_gtalk.c

Modified: branches/1.4/channels/chan_gtalk.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_gtalk.c?rev=47329&r1=47328&r2=47329&view=diff
==============================================================================
--- branches/1.4/channels/chan_gtalk.c (original)
+++ branches/1.4/channels/chan_gtalk.c Wed Nov  8 10:55:35 2006
@@ -896,7 +896,7 @@
 	struct ast_channel *tmp;
 	int fmt;
 	int what;
-	char *n2;
+	const char *n2;
 
 	if (title)
 		n2 = title;
@@ -957,9 +957,9 @@
 	ast_copy_string(tmp->exten, i->exten, sizeof(tmp->exten));
 	/* Don't use ast_set_callerid() here because it will
 	 * generate a needless NewCallerID event */
-	tmp->cid.cid_num = ast_strdup(l->cid_num);
-	tmp->cid.cid_ani = ast_strdup(l->cid_num);
-	tmp->cid.cid_name = ast_strdup(l->cid_name);
+	tmp->cid.cid_num = ast_strdup(i->cid_num);
+	tmp->cid.cid_ani = ast_strdup(i->cid_num);
+	tmp->cid.cid_name = ast_strdup(i->cid_name);
 	if (!ast_strlen_zero(i->exten) && strcmp(i->exten, "s"))
 		tmp->cid.cid_dnid = ast_strdup(i->exten);
 	tmp->priority = 1;



More information about the asterisk-commits mailing list