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

+3 -2
View File
@@ -1107,8 +1107,9 @@ SWITCH_MODULE_RUNTIME_FUNCTION(mod_iax_runtime)
iaxevent->ies.calling_ani,
NULL,
NULL,
(char *) modname,
iaxevent->ies.called_context, iaxevent->ies.called_number)) != 0) {
modname,
iaxevent->ies.called_context,
iaxevent->ies.called_number)) != 0) {
char name[128];
snprintf(name, sizeof(name), "IAX/%s-%04x", tech_pvt->caller_profile->destination_number, rand() & 0xffff);
switch_channel_set_name(channel, name);