[Asterisk-cvs] asterisk/channels/h323 ast_h323.cpp,1.56,1.57 chan_h323.h,1.24,1.25

jeremy at lists.digium.com jeremy at lists.digium.com
Thu Jul 22 00:38:50 CDT 2004


Update of /usr/cvsroot/asterisk/channels/h323
In directory localhost.localdomain:/tmp/cvs-serv28371/h323

Modified Files:
	ast_h323.cpp chan_h323.h 
Log Message:
clean up warnings, and re-add a return, how did that get removed?

Index: ast_h323.cpp
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/ast_h323.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- ast_h323.cpp	21 Jul 2004 16:36:10 -0000	1.56
+++ ast_h323.cpp	22 Jul 2004 04:24:50 -0000	1.57
@@ -1211,7 +1211,7 @@
 }
 
 /* alas, this doesn't work :(   */
-void h323_native_bridge(const char *token, char *them, char *capability)
+void h323_native_bridge(const char *token, const char *them, char *capability)
 {
 	H323Channel *channel;
 	MyH323Connection *connection = (MyH323Connection *)endPoint->FindConnectionWithLock(token);

Index: chan_h323.h
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/chan_h323.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- chan_h323.h	21 Jul 2004 00:49:06 -0000	1.24
+++ chan_h323.h	22 Jul 2004 04:24:50 -0000	1.25
@@ -108,7 +108,7 @@
 } call_details_t;
 
 typedef struct rtp_info {
-	char *addr;
+	const char *addr;
 	unsigned int port;
 } rtp_info_t;
 
@@ -194,7 +194,7 @@
 	/* H323 listener related funcions */
 	int h323_start_listener(int, struct sockaddr_in);
 
-	void h323_native_bridge(const char *, char *, char *);
+	void h323_native_bridge(const char *, const char *, char *);
 
 	/* Send a DTMF tone to remote endpoint */
 	void h323_send_tone(const char *call_token, char tone);




More information about the svn-commits mailing list