diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-08 15:16:21 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-08 15:16:21 +0200 |
| commit | e4f356b9592599ad91aac34bf2265c9bcdfbb81f (patch) | |
| tree | 5a95908f9cb9cf5ad7d7802661e1d0c3bc2a0e3a /tools/400_solvetest/solve_test.c | |
| parent | c5a6ff0443fc9e5e890fe72cb13ea78d4fe2bbcb (diff) | |
| download | nissy-core-e4f356b9592599ad91aac34bf2265c9bcdfbb81f.tar.gz nissy-core-e4f356b9592599ad91aac34bf2265c9bcdfbb81f.zip | |
Some minor changes to the interface.
- Simplified logger to accept only a string, not a variadic list
of args like printf(). This can still use some improvement,
but now it is easier to use from other languages.
- Fixed some misuses of the logger (wrong types etc)
- Renamed some constants
- Fixed some typos in comments.
Diffstat (limited to 'tools/400_solvetest/solve_test.c')
| -rw-r--r-- | tools/400_solvetest/solve_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/400_solvetest/solve_test.c b/tools/400_solvetest/solve_test.c index a98be26..e881030 100644 --- a/tools/400_solvetest/solve_test.c +++ b/tools/400_solvetest/solve_test.c | |||
| @@ -94,7 +94,7 @@ void run(void) { | |||
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | int main(int argc, char **argv) { | 96 | int main(int argc, char **argv) { |
| 97 | char filename[255], dataid[NISSY_DATAID_SIZE]; | 97 | char filename[255], dataid[NISSY_SIZE_DATAID]; |
| 98 | 98 | ||
| 99 | if (argc < 2) { | 99 | if (argc < 2) { |
| 100 | printf("Error: not enough arguments. " | 100 | printf("Error: not enough arguments. " |
