assert( id != NOID );
#ifndef MISALIGNED_OK
- if (keys[0].bv_len & 0x03)
+ if (keys[0].bv_len & ALIGNER)
kbuf[1] = 0;
#endif
for ( k=0; keys[k].bv_val; k++ ) {
* exists and if it's a range.
*/
#ifndef MISALIGNED_OK
- if (keys[k].bv_len & 0x03) {
+ if (keys[k].bv_len & ALIGNER) {
key.mv_size = sizeof(kbuf);
key.mv_data = kbuf;
memcpy(key.mv_data, keys[k].bv_val, keys[k].bv_len);
assert( id != NOID );
#ifndef MISALIGNED_OK
- if (keys[0].bv_len & 0x03)
+ if (keys[0].bv_len & ALIGNER)
kbuf[1] = 0;
#endif
for ( k=0; keys[k].bv_val; k++) {
* exists and if it's a range.
*/
#ifndef MISALIGNED_OK
- if (keys[k].bv_len & 0x03) {
+ if (keys[k].bv_len & ALIGNER) {
key.mv_size = sizeof(kbuf);
key.mv_data = kbuf;
memcpy(key.mv_data, keys[k].bv_val, keys[k].bv_len);
{
int rc;
MDB_val key;
-#ifndef MSIALIGNED_OK
+#ifndef MISALIGNED_OK
int kbuf[2];
#endif
Debug( LDAP_DEBUG_TRACE, "=> key_read\n", 0, 0, 0 );
#ifndef MISALIGNED_OK
- if (k->bv_len & 0x03) {
+ if (k->bv_len & ALIGNER) {
key.mv_size = sizeof(kbuf);
key.mv_data = kbuf;
kbuf[1] = 0;