int tkind;
char *p;
+#ifdef WIN32
+ if (appData.debugMode) {
+ if (!error) {
+ fprintf(debugFP, "<ICS: ");
+ show_bytes(debugFP, data, count);
+ fprintf(debugFP, "\n");
+ }
+ }
+#endif
+
if (count > 0) {
/* If last read ended with a partial line that we couldn't parse,
prepend it to the new read and try again. */
}
strncpy(programStats.movelist, buf1,
sizeof(programStats.movelist));
- buf1[sizeof(programStats.movelist) - 1] = NULLCHAR;
+ programStats.movelist[sizeof(programStats.movelist) - 1]
+ = NULLCHAR;
} else {
sprintf(programStats.movelist, " no PV\n");
}