little cleanup, remove unnecessary (char *) cast.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5674 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-08-28 22:44:02 +00:00
1 parent d264ed5a7e
commit 30ffb593c0
7 files changed
+31 -19

No files matched your search

+9 -1
View File
@@ -1059,7 +1059,15 @@ static void *woomera_channel_thread_run(switch_thread_t * thread, void *obj)
if ((tech_pvt->caller_profile = switch_caller_profile_new(switch_core_session_get_pool(session),
NULL,
tech_pvt->profile->dialplan,
cid_name, cid_num, ip, NULL, NULL, NULL, (char *) modname, NULL, exten)) != 0) {
cid_name,
cid_num,
ip,
NULL,
NULL,
NULL,
modname,
NULL,
exten)) != 0) {
char name[128];
snprintf(name, sizeof(name), "Woomera/%s-%04x", tech_pvt->caller_profile->destination_number, rand() & 0xffff);
switch_channel_set_name(channel, name);