Index: /trunk/server/common/patches/389-sasl-io-4-bytes.patch
===================================================================
--- /trunk/server/common/patches/389-sasl-io-4-bytes.patch	(revision 1705)
+++ /trunk/server/common/patches/389-sasl-io-4-bytes.patch	(revision 1706)
@@ -76,6 +76,6 @@
      }
 -    if (ret == sizeof(buffer)) {
--        /* Decode the length */
--        packet_length = ntohl(*(uint32_t *)buffer);
+-        /* Decode the length (could use ntohl here ??) */
+-        packet_length = buffer[0] << 24 | buffer[1] << 16 | buffer[2] << 8 | buffer[3];
 -        /* add length itself (for Cyrus SASL library) */
 -        packet_length += 4;
