Skip to content

Commit e561f2a

Browse files
authored
Merge pull request open-mpi#7269 from hppritcha/topic/pr7238_to_v4.0.x
mtl/ofi: ignore case when comparing provider names
2 parents 6a739f8 + 47c435e commit e561f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/mtl/ofi/mtl_ofi_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ is_in_list(char **list, char *item)
293293
}
294294

295295
while (NULL != list[i]) {
296-
if (0 == strncmp(item, list[i], strlen(list[i]))) {
296+
if (0 == strncasecmp(item, list[i], strlen(list[i]))) {
297297
return 1;
298298
} else {
299299
i++;

0 commit comments

Comments
 (0)