return 0;
}
+extern FILE *comlog;
+
int com_sought(int p, param_list param)
{
int i;
for (i = 0; i < seek_globals.max_ads; i++) {
if (seek_globals.ads[i].status == SEEKCLOSED) {
char *msgtxt = form_ad(&seek_globals.ads[i], i);
+if(comlog) fprintf(comlog, "msgtext = %s\n", msgtxt), fflush(comlog);
pprintf(p, "%s", msgtxt);
free(msgtxt);
}
rating = player_globals.parray[ad->whofrom].b_stats.rating;
}
+if(comlog) fprintf(comlog, "seek %d type = %d\n", i, type), fflush(comlog);
if(ad->category[0]) { // [HGM] print category with seek ad
sprintf(buf, " %s", ad->category);
if(ad->board_type[0] && strcmp(ad->board_type, "0"))