mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
fix for bug 84411: infinite loop in regxpcom. r/sr=shaver. properly increment loop variant.
This commit is contained in:
parent
ce1ab2460c
commit
7c933726d3
@ -141,7 +141,6 @@ int ProcessArgs(int argc, char *argv[])
|
||||
fprintf(stderr, "Unknown option '%c'\n", argv[i][j]);
|
||||
}
|
||||
}
|
||||
i++;
|
||||
} else {
|
||||
if (gUnreg == PR_TRUE)
|
||||
res = Unregister(argv[i]);
|
||||
@ -154,6 +153,7 @@ int ProcessArgs(int argc, char *argv[])
|
||||
ReportSuccess(argv[i]);
|
||||
}
|
||||
}
|
||||
i++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user