adding const qualifiers across the api as appropriate.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5165 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-05-12 14:48:14 +00:00
1 parent 8107c49a64
commit a4ff7e88da
32 files changed
+255 -206

No files matched your search

+2 -2
View File
@@ -625,7 +625,7 @@ static void enum_app_function(switch_core_session_t *session, char *data)
}
static switch_status_t enum_function(char *data, switch_core_session_t *session, switch_stream_handle_t *stream)
static switch_status_t enum_function(const char *data, switch_core_session_t *session, switch_stream_handle_t *stream)
{
int argc = 0;
@@ -649,7 +649,7 @@ static switch_status_t enum_function(char *data, switch_core_session_t *session,
dest = argv[0];
root = argv[1] ? argv[1] : globals.root;
if (!enum_lookup(root, data, &results) == SWITCH_STATUS_SUCCESS) {
if (!enum_lookup(root, dest, &results) == SWITCH_STATUS_SUCCESS) {
stream->write_function(stream, "No Match!\n");
return SWITCH_STATUS_SUCCESS;
}