[Asterisk-cvs] asterisk/channels chan_h323.c,1.104,1.105

twisted at lists.digium.com twisted at lists.digium.com
Tue Mar 8 17:14:51 CST 2005


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

Modified Files:
	chan_h323.c 
Log Message:
Fix compilation of chan_h323.c since removal of the private channel structures (Bug # 3738)


Index: chan_h323.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_h323.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- chan_h323.c	4 Mar 2005 06:47:24 -0000	1.104
+++ chan_h323.c	8 Mar 2005 23:11:23 -0000	1.105
@@ -788,7 +788,7 @@
 	ast_update_use_count();
 	ast_mutex_lock(&pvt->lock);
 	if (ch) {
-		tmp->tech = &oh323_tech;
+		ch->tech = &oh323_tech;
 		snprintf(ch->name, sizeof(ch->name), "H323/%s", host);
 		ch->nativeformats = pvt->capability;
 		if (!ch->nativeformats) {
@@ -2221,7 +2221,7 @@
 
 char *description()
 {
-	return desc;
+	return (char *) desc;
 }
 
 char *key()




More information about the svn-commits mailing list