wrong comment about protcol

Heiko Schlichting inn-bugs at FU-Berlin.DE
Fri Jun 15 13:01:15 UTC 2001



Hi,

the following applies to the latest STABLE and CURRENT snapshot:

The comment in include/inndcomm.h describing the ICC protocol seems to be
wrong. The message length is of type short and therefore 2 bytes and not 4
as written.

--- include/inndcomm.h.org	Thu Jun 14 11:00:44 2001
+++ include/inndcomm.h	Fri Jun 15 14:47:07 2001
@@ -9,7 +9,7 @@
 #endif /* __cplusplus */
 
 /* The header for the ICC protocol is a one-byte protocol version followed
-   by a 4 byte messages length*/
+   by a 2 byte messages length*/
 #define HEADER_SIZE (sizeof (ICC_PROTOCOLTYPE) + sizeof (ICC_MSGLENTYPE))
 
 typedef short ICC_MSGLENTYPE;	/* Length code to prefix commands to

Heiko Schlichting        | Freie Universität Berlin
heiko at FU-Berlin.DE       | Zentraleinrichtung für Datenverarbeitung (ZEDAT)
Telefon +49 30 838-54327 | Fabeckstraße 32
Telefax +49 30 838-56721 | 14195 Berlin


More information about the inn-bugs mailing list