]> git.sur5r.net Git - openldap/commitdiff
Make time counter zero based
authorHoward Chu <hyc@openldap.org>
Wed, 5 Oct 2005 15:45:22 +0000 (15:45 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 5 Oct 2005 15:45:22 +0000 (15:45 +0000)
libraries/liblutil/csn.c

index b6a43ddb3340dd478ad9cb09a10a3c9666be6a7f..4dcfc68079480bece55aafccf20769fc872f4395 100644 (file)
@@ -67,7 +67,7 @@ lutil_csnstr(char *buf, size_t len, unsigned int replica, unsigned int mod)
                csntime = t;
                csnop = 0;
        }
-       op = ++csnop;
+       op = csnop++;
 
 #ifdef HAVE_GMTIME_R
        ltm = gmtime_r( &t, &ltm_buf );