Mailing List Archive

Found problem with [patch B6]
I suddenly woke up knowing exactly what I did wrong -- I missed
part of the overlap with patch E30 and thus included the actual
write in the wrong patch. Here's the misplaced code:

***************
*** 86,96 ****
strcat(str,"- ");

if(bytes_sent != -1)
! sprintf(str,"%s%d",str,bytes_sent);
else
! strcat(str,"- ");
! fprintf(xfer_log,"%s\n",str);
! fclose(xfer_log);
}

void log_error(char *err) {
--- 89,102 ----
strcat(str,"- ");

if(bytes_sent != -1)
! sprintf(str,"%s%d\n",str,bytes_sent);
else
! strcat(str,"-\n");
!
! write(xfer_log,str,strlen(str));
! close(xfer_log);
}

void log_error(char *err) {
***************

Sorry Brian -- it seems I am a better programmer in my sleep
than I am awake. ;-)

I'll update the patches (B6 and E30) on hyperreal in the morning.

........Roy