[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6345) tests/progs/slapd-common.c negative array index



Full_Name: Hallvard B Furuseth
Version: HEAD, RE24
OS: 
URL: 
Submission from: (NULL) (129.240.6.233)
Submitted by: hallvard


tester_ignore_err(negative error code) does
			ignore_server[ err ]--;
when it should do
			ignore_client[ -err ]--;
Looks like a cut&paste error.  Fixing.

That piece of code is needlessly complex anyway.  Simplifying:
Instead of treating positive and negative error codes separately
(server-side and client-side codes), all that is needed is a
single array for both, offset by (-minimum result code).