1
1

Fix minor issue: the argv_delete may change the top list pointer. So

be sure to save it.

This commit was SVN r27568.
Этот коммит содержится в:
Jeff Squyres 2012-11-06 16:05:58 +00:00
родитель 906e29ed96
Коммит d6e9a14b14

Просмотреть файл

@ -212,6 +212,7 @@ static void check_sanity(char ***if_sanity_list, const char *dev_name, int port)
if (0 == strcmp(list[i], compare)) { if (0 == strcmp(list[i], compare)) {
int count = opal_argv_count(list); int count = opal_argv_count(list);
opal_argv_delete(&count, &list, i, 1); opal_argv_delete(&count, &list, i, 1);
*if_sanity_list = list;
--i; --i;
} }
} }