X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Fliblutil%2Fcsn.c;h=19a74487ff6ae1974cc95da09f44c88bb01db6c5;hb=198879bd5f1baa09e5dc7a951db980a932cd5db5;hp=4c3213f741880da44bff783ec5b87a538efe26f6;hpb=6cbf65642a9d094feddf820b206c1a3af70d5fd9;p=openldap diff --git a/libraries/liblutil/csn.c b/libraries/liblutil/csn.c index 4c3213f741..19a74487ff 100644 --- a/libraries/liblutil/csn.c +++ b/libraries/liblutil/csn.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2000-2007 The OpenLDAP Foundation. + * Copyright 2000-2009 The OpenLDAP Foundation. * Portions Copyright 2000-2003 Kurt D. Zeilenga. * All rights reserved. * @@ -48,6 +48,7 @@ #include +/* Must be mutex-protected, because lutil_gettime needs mutex protection */ size_t lutil_csnstr(char *buf, size_t len, unsigned int replica, unsigned int mod) {