FS-8316 resolving the build warnings in the modules too

This commit is contained in:
William King committed 2015-10-08 13:01:04 -07:00
1 parent 7724270d89
commit b9634d5f7a
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -149,13 +149,13 @@ switch_status_t skinny_create_incoming_session(listener_t *listener, uint32_t *l
goto error;
}
/* First create the caller profile in the patterns Dialplan */
if (!(tech_pvt->caller_profile = switch_caller_profile_new(switch_core_session_get_pool(nsession),
if ((tech_pvt->caller_profile = switch_caller_profile_new(switch_core_session_get_pool(nsession),
NULL, listener->profile->patterns_dialplan,
button->displayname, button->shortname,
listener->remote_ip, NULL, NULL, NULL,
"skinny" /* modname */,
listener->profile->patterns_context,
"")) != 0) {
"")) == NULL) {
skinny_log_ls_msg(listener, nsession, SWITCH_LOG_CRIT, "Error Creating Session caller profile\n");
goto error;
}