Changeset 1706 for trunk/server/common/patches
- Timestamp:
- Oct 27, 2010, 3:14:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/patches/389-sasl-io-4-bytes.patch
r1705 r1706 76 76 } 77 77 - if (ret == sizeof(buffer)) { 78 - /* Decode the length */79 - packet_length = ntohl(*(uint32_t *)buffer);78 - /* Decode the length (could use ntohl here ??) */ 79 - packet_length = buffer[0] << 24 | buffer[1] << 16 | buffer[2] << 8 | buffer[3]; 80 80 - /* add length itself (for Cyrus SASL library) */ 81 81 - packet_length += 4;
Note: See TracChangeset
for help on using the changeset viewer.