1
1

Ensure to increment i if we didn't find the option. Fixed a problem

Ralph reported.

This commit was SVN r2535.
Этот коммит содержится в:
Jeff Squyres 2004-09-08 07:46:28 +00:00
родитель e8c36d02c9
Коммит 4b30eddd23

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

@ -764,6 +764,7 @@ static int split_shorts(ompi_cmd_line_t *cmd, bool ignore_unknown)
pass it through unmodified to the new argv */
if (NULL == option) {
++i;
if (!ignore_unknown) {
ompi_output(0, "Unrecognized option: '%s'", token);
return OMPI_ERR_BAD_PARAM;