mod_skinny: pointless check CID 1060963

This commit is contained in:
Nathan Neulinger 2014-08-05 11:30:15 -05:00
parent bea603b7fa
commit e84c964fb9
1 changed files with 1 additions and 1 deletions

View File

@ -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);
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);
goto error;
}