--- mike.c.orig Tue Sep 14 09:27:51 1999 +++ mike.c Tue Sep 21 09:48:37 1999 @@ -1,4 +1,4 @@ -/*#define USE_CURSES*/ +#define USE_CURSES #define BYTE_SWAP_DEBUG /* @@ -871,6 +871,9 @@ (sb->buffer.buffer_len > 16)) { pktlen += sizeof(sb->sendinghost); } + /* must stay in network order for debugging output */ + sb->compression = htonl(sb->compression); + sb->buffer.buffer_len = htonl(sb->buffer.buffer_len); } } }