Add missing break

Wrong error message would be used for in case of
RANGE_CHECK_DIFFERENT_TYPE_IN_DOMAIN. Missing break will cause fall through to
the default section.

Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
Lukas Slebodnik 2014-07-12 18:28:38 +02:00 committed by Petr Viktorin
parent e672a39637
commit d1d2536375

View File

@ -660,6 +660,7 @@ static int ipa_range_check_pre_op(Slapi_PBlock *pb, int modtype)
break;
case RANGE_CHECK_DIFFERENT_TYPE_IN_DOMAIN:
errmsg = "New ID range has invalid type. All ranges in the same domain must be of the same type.";
break;
default:
errmsg = "New range overlaps with existing one.";
break;