diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-22 04:24:50 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-22 04:24:50 +0000 |
commit | 7b5dd33c65b20e04acf32706411678ab44ad1085 (patch) | |
tree | 9a316bf447c9a44fcbc5154ce951280b9d875a29 /channels/h323 | |
parent | 703fe0dcd9ce8c946ca81d1a094294f644333bf9 (diff) |
clean up warnings, and re-add a return, how did that get removed?
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3491 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323')
-rwxr-xr-x | channels/h323/ast_h323.cpp | 2 | ||||
-rwxr-xr-x | channels/h323/chan_h323.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index 85b4e98ca..ad52cbb76 100755 --- a/channels/h323/ast_h323.cpp +++ b/channels/h323/ast_h323.cpp @@ -1211,7 +1211,7 @@ int h323_soft_hangup(const char *data) } /* 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); diff --git a/channels/h323/chan_h323.h b/channels/h323/chan_h323.h index 4bf1d5727..3e0e848f6 100755 --- a/channels/h323/chan_h323.h +++ b/channels/h323/chan_h323.h @@ -108,7 +108,7 @@ typedef struct call_details { } call_details_t; typedef struct rtp_info { - char *addr; + const char *addr; unsigned int port; } rtp_info_t; @@ -194,7 +194,7 @@ extern "C" { /* 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); |