diff options
Diffstat (limited to '')
| -rw-r--r-- | shell/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell.c b/shell/shell.c index 2a2720f..26b4535 100644 --- a/shell/shell.c +++ b/shell/shell.c | |||
| @@ -484,7 +484,7 @@ solve_exec(args_t *args) | |||
| 484 | } | 484 | } |
| 485 | 485 | ||
| 486 | if (args->maxsolutions == 0) | 486 | if (args->maxsolutions == 0) |
| 487 | args->maxsolutions = args->optimal >= 0 ? UINT_MAX : 1; | 487 | args->maxsolutions = args->optimal == 20 ? 1 : UINT_MAX; |
| 488 | 488 | ||
| 489 | buf = malloc(size); | 489 | buf = malloc(size); |
| 490 | read = fread(buf, size, 1, file); | 490 | read = fread(buf, size, 1, file); |
