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:
1 parent
e672a39637
commit
d1d2536375
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user