]> git.sur5r.net Git - openldap/commitdiff
prepare log line
authorPierangelo Masarati <ando@openldap.org>
Wed, 23 Nov 2005 01:13:39 +0000 (01:13 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 23 Nov 2005 01:13:39 +0000 (01:13 +0000)
servers/slapd/backover.c

index 1a7f4bb34b5f9eb95929cfc22c2ebe653d078637..136fb95ff0344e666014cf4529faa477bfeae7f0 100644 (file)
@@ -137,6 +137,9 @@ over_db_config(
        ca.fname = fname;
        ca.lineno = lineno;
        ca.be = be;
+       snprintf( ca.log, sizeof( ca.log ), "%s: line %d",
+                       ca.fname, ca.lineno );
+
        for (; on; on=on->on_next) {
                rc = SLAP_CONF_UNKNOWN;
                if (on->on_bi.bi_cf_ocs) {