diff --git a/src/jrd/scl.epp b/src/jrd/scl.epp index 329513c9cc..a3c0319aac 100644 --- a/src/jrd/scl.epp +++ b/src/jrd/scl.epp @@ -468,7 +468,7 @@ SecurityClass* SCL_get_class(const TEXT* _string) s_class; s_class = s_class->scl_next) { - if (string == s_class->scl_name) { + if (!strcmp(string.c_str(), s_class->scl_name)) { return s_class; } }