[Date Prev][Date Next]
Re: commit: ldap/servers/slapd backend.c
> hyc@OpenLDAP.org writes:
>> backend.c 1.412 -> 1.413
>> ITS#6393 syncrepl internal connids are now <= -1000
> backend.c: 'op->o_connid <= -1000' is wrong. o_connid is unsigned long,
> so this is compiled as 'op->o_connid <= (unsigned long) -1000'.
Right. Also, since o_connid is unsigned long, -1000-rid is a valid connid.
Perhaps, a char in the Connection structure, or yet another value in some
bitmask would be better.