]> O.S.I.I.S - jp/vkvg.git/commitdiff
typo
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Tue, 25 Jan 2022 23:23:23 +0000 (00:23 +0100)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Tue, 25 Jan 2022 23:23:23 +0000 (00:23 +0100)
tests/common/test.c

index 48598ca04a2639d51474a81fe4c779ab08859559..6271063477896cf22311b39c54360e29d52d8f19 100644 (file)
@@ -262,7 +262,7 @@ void _print_details_and_exit(void) {
 void _parse_args (int argc, char* argv[]) {
        int opt = 0;
        bool printTestDetailsAndExit = false;
-       while (opt = getopt(argc, argv, "+c:df:g:i:j:l:n:opqS:s:v:w:x:y:") != -1) {
+       while ((opt = getopt(argc, argv, "+c:df:g:i:j:l:n:opqS:s:v:w:x:y:")) != -1) {
                switch (opt) {
                case 'c':
                        switch (optarg[0]) {