aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/coord/gendata.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-08 15:16:21 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-08 15:16:21 +0200
commite4f356b9592599ad91aac34bf2265c9bcdfbb81f (patch)
tree5a95908f9cb9cf5ad7d7802661e1d0c3bc2a0e3a /src/solvers/coord/gendata.h
parentc5a6ff0443fc9e5e890fe72cb13ea78d4fe2bbcb (diff)
downloadnissy-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 'src/solvers/coord/gendata.h')
-rw-r--r--src/solvers/coord/gendata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solvers/coord/gendata.h b/src/solvers/coord/gendata.h
index 63e1631..6abb5eb 100644
--- a/src/solvers/coord/gendata.h
+++ b/src/solvers/coord/gendata.h
@@ -22,7 +22,7 @@ gendata_coord_dispatch(const char *coordstr, void *buf)
22 parse_coord_and_axis(strlen(coordstr), coordstr, &coord, NULL); 22 parse_coord_and_axis(strlen(coordstr), coordstr, &coord, NULL);
23 23
24 if (coord == NULL) { 24 if (coord == NULL) {
25 LOG("Could not parse coordinate '%s'\n", coord); 25 LOG("Could not parse coordinate '%s'\n", coordstr);
26 return NISSY_ERROR_INVALID_SOLVER; 26 return NISSY_ERROR_INVALID_SOLVER;
27 } 27 }
28 28

Generated with cgit - Back to sebastiano.tronto.net