mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 23:24:18 +00:00
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:
1 parent
d264ed5a7e
commit
30ffb593c0
7 files changed
+31
-19
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user