switch_core_session_strdup now takes const char * arg.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4264 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-02-14 19:14:53 +00:00
1 parent df85aac80c
commit 2b507706c9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1466,7 +1466,7 @@ SWITCH_DECLARE(char *) switch_core_permanent_strdup(const char *todup)
}
SWITCH_DECLARE(char *) switch_core_session_strdup(switch_core_session_t *session, char *todup)
SWITCH_DECLARE(char *) switch_core_session_strdup(switch_core_session_t *session, const char *todup)
{
char *duped = NULL;
switch_size_t len;