From: Howard Chu Date: Fri, 11 Sep 2020 22:47:15 +0000 (+0100) Subject: ITS#8054 fix etime calculation X-Git-Tag: OPENLDAP_REL_ENG_2_5_0ALPHA~10^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdf6ee5059cef3b22b39a437d48004f7969c1a27;p=thirdparty%2Fopenldap.git ITS#8054 fix etime calculation Was overlooked in a0cc1d9655da112a4d19cddf821460a4dedeed1c --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 3e00d6f61e..c0bafabecf 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -43,7 +43,7 @@ char timestr[64]; \ (void) gettimeofday( &now, NULL ); \ now.tv_sec -= op->o_time; \ - now.tv_usec -= op->o_tincr; \ + now.tv_usec -= op->o_tusec; \ if ( now.tv_usec < 0 ) { \ --now.tv_sec; now.tv_usec += 1000000; \ } \