From d6f64c6de490d35f5fb281c7daf22aabfbfd42c5 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 23 Jan 2006 15:59:23 +0000 Subject: [PATCH] Another endian fix --- mbsebbs/offline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbsebbs/offline.c b/mbsebbs/offline.c index 6b7552fe..bfe7ac7f 100644 --- a/mbsebbs/offline.c +++ b/mbsebbs/offline.c @@ -1448,7 +1448,7 @@ void BlueWave_Fetch() fread(&Uph, sizeof(UPL_HEADER), 1, up); Syslog('+', "Processing BlueWave v3 \"%s\" file", Filename); Syslog('+', "Client: %s %d.%d", Uph.reader_name, Uph.reader_major, Uph.reader_minor); - if (Uph.upl_header_len != sizeof(UPL_HEADER)) { + if (le_us(Uph.upl_header_len) != sizeof(UPL_HEADER)) { WriteError("Recordsize mismatch"); fclose(up); free(temp);