From 3c540db464f4034d0a393b076c79a26851f68f47 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Mon, 6 Jul 2026 23:39:55 +0530 Subject: removed unnescessary stuff + ipc with shared memory + somehow the build is faster? --- src/uci/response.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/uci/response.c') diff --git a/src/uci/response.c b/src/uci/response.c index a7e53fd..83a8ee1 100644 --- a/src/uci/response.c +++ b/src/uci/response.c @@ -3,8 +3,8 @@ #include #include "response.h" -#include "fen.h" -#include "bitboard.h" +#include "../fen.h" +#include "../bitboard.h" void apply_option(uci_state *state, char *name, char *buffer) { int settings_count = sizeof(state->option_settings)/sizeof(option_setting_t); @@ -151,7 +151,7 @@ void handle_idle(uci_state *state, ucicmd cmd) { } else { assert(0); } if (cmd.args_count >= k) return; - assert(ucicmd_get_arg(cmd, k++), "moves") == 0); + assert(strcmp(ucicmd_get_arg(cmd, k++), "moves") == 0); struct uci_move *moves = malloc((cmd.args_count - k) * sizeof(struct uci_move)); int l = 0; for (; k < cmd.args_count; k++) { -- cgit v1.2.3