mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-07 22:03:50 +00:00
FS-8316 resolving the build warnings in the modules too
This commit is contained in:
parent
7724270d89
commit
b9634d5f7a
@ -1422,7 +1422,7 @@ switch_status_t conference_member_say(conference_member_t *member, char *text, u
|
|||||||
fp = switch_core_strdup(pool, text);
|
fp = switch_core_strdup(pool, text);
|
||||||
switch_assert(fp);
|
switch_assert(fp);
|
||||||
|
|
||||||
if (!switch_event_create_brackets(fp, '{', '}', ',', ¶ms, &new_fp, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) {
|
if (switch_event_create_brackets(fp, '{', '}', ',', ¶ms, &new_fp, SWITCH_FALSE) != SWITCH_STATUS_SUCCESS) {
|
||||||
new_fp = fp;
|
new_fp = fp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -899,7 +899,7 @@ switch_status_t conference_say(conference_obj_t *conference, const char *text, u
|
|||||||
fp = switch_core_strdup(pool, text);
|
fp = switch_core_strdup(pool, text);
|
||||||
switch_assert(fp);
|
switch_assert(fp);
|
||||||
|
|
||||||
if (!switch_event_create_brackets(fp, '{', '}', ',', ¶ms, &new_fp, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) {
|
if (switch_event_create_brackets(fp, '{', '}', ',', ¶ms, &new_fp, SWITCH_FALSE) != SWITCH_STATUS_SUCCESS) {
|
||||||
new_fp = fp;
|
new_fp = fp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -838,7 +838,7 @@ SWITCH_STANDARD_API(enum_function)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!enum_lookup(root, dest, &results, NULL, session) == SWITCH_STATUS_SUCCESS) {
|
if (enum_lookup(root, dest, &results, NULL, session) != SWITCH_STATUS_SUCCESS) {
|
||||||
stream->write_function(stream, "No Match!\n");
|
stream->write_function(stream, "No Match!\n");
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -149,13 +149,13 @@ switch_status_t skinny_create_incoming_session(listener_t *listener, uint32_t *l
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
/* First create the caller profile in the patterns Dialplan */
|
/* 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,
|
NULL, listener->profile->patterns_dialplan,
|
||||||
button->displayname, button->shortname,
|
button->displayname, button->shortname,
|
||||||
listener->remote_ip, NULL, NULL, NULL,
|
listener->remote_ip, NULL, NULL, NULL,
|
||||||
"skinny" /* modname */,
|
"skinny" /* modname */,
|
||||||
listener->profile->patterns_context,
|
listener->profile->patterns_context,
|
||||||
"")) != 0) {
|
"")) == NULL) {
|
||||||
skinny_log_ls_msg(listener, nsession, SWITCH_LOG_CRIT, "Error Creating Session caller profile\n");
|
skinny_log_ls_msg(listener, nsession, SWITCH_LOG_CRIT, "Error Creating Session caller profile\n");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user