mod_skinny: pointless check CID 1060963
This commit is contained in:
parent
bea603b7fa
commit
e84c964fb9
|
@ -112,7 +112,7 @@ switch_status_t skinny_create_incoming_session(listener_t *listener, uint32_t *l
|
||||||
|
|
||||||
skinny_line_get(listener, *line_instance_p, &button);
|
skinny_line_get(listener, *line_instance_p, &button);
|
||||||
|
|
||||||
if (!button || !button->shortname) {
|
if (!button || !button->shortname[0]) {
|
||||||
skinny_log_l(listener, SWITCH_LOG_CRIT, "Line %d not found on device\n", *line_instance_p);
|
skinny_log_l(listener, SWITCH_LOG_CRIT, "Line %d not found on device\n", *line_instance_p);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue