> assert(mp->ma_table[0].me_value == NULL); > mp->ma_table[0].me_hash = i + 1; /* next place to start */ Ack, those two lines should move up into the "if (res != NULL)" block. errors-are-error-prone-ly y'rs - tim