summaryrefslogtreecommitdiff
path: root/src/uci/response.c
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-07-18 14:02:18 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-07-18 14:04:14 +0530
commit9395e857db95481f6e2494d3a841632be0ff97c8 (patch)
treedfaa6ab66ea5dd083c060a5dba0cf41ed9cb754c /src/uci/response.c
parentc34b4c1b036058b2906556850cc4ded6ececcf89 (diff)
fixed moved gen & adding messages on asserts
Diffstat (limited to 'src/uci/response.c')
-rw-r--r--src/uci/response.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uci/response.c b/src/uci/response.c
index da46cb7..ff89f8d 100644
--- a/src/uci/response.c
+++ b/src/uci/response.c
@@ -78,7 +78,7 @@ void handle_idle(uci_state_t *state, uci_cmd_t cmd) {
return;
}
state->position = fen.position;
- } else { assert(0); }
+ } else { assert(0 && "Invalid argument for position command"); }
if (cmd.args_count >= k) return;
assert(strcmp(uci_cmd_get_arg(cmd, k++), "moves") == 0);