diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-07-12 18:28:38 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-07-14 16:28:59 +0200 |
commit | d1d253637535017fdf82aa833df742bb418bbf65 (patch) | |
tree | 02e3de666b46ecd2ee030977e23715e9aad1d970 | |
parent | e672a396374c05c5a06eb4e816ec6cc0939ad008 (diff) | |
download | freeipa-d1d253637535017fdf82aa833df742bb418bbf65.tar.gz freeipa-d1d253637535017fdf82aa833df742bb418bbf65.tar.xz freeipa-d1d253637535017fdf82aa833df742bb418bbf65.zip |
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>
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c b/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c index d659dc7d8..1fd543c18 100644 --- a/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c +++ b/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c @@ -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; |