Bluewave is now endian correct
This commit is contained in:
parent
d6f64c6de4
commit
3d498c280a
@ -5,6 +5,7 @@ v0.83.8 22-Jan-2006
|
|||||||
mbsebbs:
|
mbsebbs:
|
||||||
Fixed a strange bug that ftell didn't work right, this caused
|
Fixed a strange bug that ftell didn't work right, this caused
|
||||||
corrupt bluewave download packets.
|
corrupt bluewave download packets.
|
||||||
|
Bluewave is now big/little endian correct.
|
||||||
|
|
||||||
|
|
||||||
v0.83.7 31-Dec-2005 - 22-Jan-2006
|
v0.83.7 31-Dec-2005 - 22-Jan-2006
|
||||||
|
@ -1472,7 +1472,8 @@ void BlueWave_Fetch()
|
|||||||
i = 0;
|
i = 0;
|
||||||
|
|
||||||
memset(&Upr, 0, sizeof(UPL_REC));
|
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('.');
|
PUTCHAR('.');
|
||||||
Syslog('m', " From : %s", Upr.from);
|
Syslog('m', " From : %s", Upr.from);
|
||||||
Syslog('m', " To : %s", Upr.to);
|
Syslog('m', " To : %s", Upr.to);
|
||||||
@ -1589,6 +1590,7 @@ void BlueWave_Fetch()
|
|||||||
}
|
}
|
||||||
memset(&Upr, 0, sizeof(UPL_REC));
|
memset(&Upr, 0, sizeof(UPL_REC));
|
||||||
}
|
}
|
||||||
|
Syslog('m', "Stop UPL reply records");
|
||||||
Enter(1);
|
Enter(1);
|
||||||
if (i) {
|
if (i) {
|
||||||
/* Messages imported */
|
/* Messages imported */
|
||||||
|
Reference in New Issue
Block a user