diff --git a/lib/mbdiesel.c b/lib/mbdiesel.c index 8a6f9ed2..c5b2dd74 100644 --- a/lib/mbdiesel.c +++ b/lib/mbdiesel.c @@ -217,7 +217,6 @@ void Cookie(void) firstrandom = FALSE; } recno = 1+(int) (1.0 * records * rand() / (RAND_MAX + 1.0)); - Syslog('f', "Selected quote %d out of %d records", recno, records); if (fseek(olf, olhdr.hdrsize + (recno * olhdr.recsize), SEEK_SET) == 0) { if (fread(&ol, olhdr.recsize, 1, olf) == 1) { diff --git a/mbfido/msgutil.c b/mbfido/msgutil.c index 4dfbcd42..de158207 100644 --- a/mbfido/msgutil.c +++ b/mbfido/msgutil.c @@ -144,7 +144,7 @@ long Msg_Top(char *template, int language, fidoaddr aka) { char *temp; FILE *fp, *fi; - long fileptr, fileptr1 = 0L; + long fileptr, fileptr1 = -1L; temp = calloc(PATH_MAX, sizeof(char));