X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=uci.c;h=1f39f6a84112cf9ce003915fe8a7fe54daea0d44;hb=3845dc6e578a5e2ca1df4ed90a5db36f7529ac30;hp=ab2cea926cedf2dba1b223cdf17538543393f3b5;hpb=0ea1b434ac6becf79c75d85ba27de5b89666a7c3;p=xboard.git diff --git a/uci.c b/uci.c index ab2cea9..1f39f6a 100644 --- a/uci.c +++ b/uci.c @@ -26,10 +26,6 @@ #include #include -#if HAVE_MALLOC_H - #include -#endif - #include "common.h" #include "backend.h" Boolean GetArgValue(char *a); @@ -40,6 +36,7 @@ void InitEngineUCI( const char * iniDir, ChessProgramState * cps ) char *p, *q; char polyglotCommand[MSG_SIZ]; + if(cps->isUCI == 2) p = appData.ucciAdapter; else p = appData.adapterCommand; q = polyglotCommand; while(*p) {