Make time counter zero based

This commit is contained in:
Howard Chu 2005-10-05 15:45:22 +00:00
parent 2027e19e01
commit c82ae524b9

View 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 );