diff --git a/ChangeLog b/ChangeLog index 4237a8eb..e257279a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ v0.83.8 22-Jan-2006 mbsebbs: Fixed a strange bug that ftell didn't work right, this caused corrupt bluewave download packets. + Bluewave is now big/little endian correct. v0.83.7 31-Dec-2005 - 22-Jan-2006 diff --git a/mbsebbs/offline.c b/mbsebbs/offline.c index bfe7ac7f..dd0c0de9 100644 --- a/mbsebbs/offline.c +++ b/mbsebbs/offline.c @@ -1472,7 +1472,8 @@ void BlueWave_Fetch() i = 0; memset(&Upr, 0, sizeof(UPL_REC)); - while (fread(&Upr, Uph.upl_rec_len, 1, up) == 1) { + Syslog('m', "Start UPL reply records"); + while (fread(&Upr, le_us(Uph.upl_rec_len), 1, up) == 1) { PUTCHAR('.'); Syslog('m', " From : %s", Upr.from); Syslog('m', " To : %s", Upr.to); @@ -1589,6 +1590,7 @@ void BlueWave_Fetch() } memset(&Upr, 0, sizeof(UPL_REC)); } + Syslog('m', "Stop UPL reply records"); Enter(1); if (i) { /* Messages imported */