From: Anthony Minessale Date: Fri, 27 Jul 2012 18:23:30 +0000 (-0500) Subject: fix seg X-Git-Tag: v1.2.0~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aba2b391fbe013519c10e5ff555b86632ab71288;p=thirdparty%2Ffreeswitch.git fix seg --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 779feb393d..28c90062dd 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -7799,9 +7799,7 @@ static conference_obj_t *conference_find(char *name, char *domain) switch_core_hash_delete(globals.conference_hash, conference->name); switch_clear_flag(conference, CFLAG_INHASH); conference = NULL; - } - - if (!zstr(domain) && conference->domain && strcasecmp(domain, conference->domain)) { + } else if (!zstr(domain) && conference->domain && strcasecmp(domain, conference->domain)) { conference = NULL; } }