Skip to content

Commit b17cd90

Browse files
authored
Merge pull request #7238 from rwespetal/ofi-prov-name-fix
mtl/ofi: ignore case when comparing provider names
2 parents 3f11c8e + 9b72e94 commit b17cd90

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
@@ -330,7 +330,7 @@ is_in_list(char **list, char *item)
330330
}
331331

332332
while (NULL != list[i]) {
333-
if (0 == strncmp(item, list[i], strlen(list[i]))) {
333+
if (0 == strncasecmp(item, list[i], strlen(list[i]))) {
334334
return 1;
335335
} else {
336336
i++;

0 commit comments

Comments
 (0)