remove all '\n' from ldb_debug
[mat/samba.git] / source4 / lib / ldb / ldb_tdb / ldb_cache.c
index 042c1c928292efd9647b54197f086a0edf27fce0..2c399686eafce1fd563ebf3809603e6d868599d2 100644 (file)
@@ -141,7 +141,7 @@ static int ltdb_attributes_load(struct ldb_module *module)
                const struct ldb_schema_syntax *s;
 
                if (ltdb_attributes_flags(&msg->elements[i], &flags) != 0) {
-                       ldb_debug(ldb, LDB_DEBUG_ERROR, "Invalid @ATTRIBUTES element for '%s'\n", msg->elements[i].name);
+                       ldb_debug(ldb, LDB_DEBUG_ERROR, "Invalid @ATTRIBUTES element for '%s'", msg->elements[i].name);
                        goto failed;
                }
                switch (flags & ~LTDB_FLAG_HIDDEN) {
@@ -156,7 +156,7 @@ static int ltdb_attributes_load(struct ldb_module *module)
                        break;
                default:
                        ldb_debug(ldb, LDB_DEBUG_ERROR, 
-                                 "Invalid flag combination 0x%x for '%s' in @ATTRIBUTES\n",
+                                 "Invalid flag combination 0x%x for '%s' in @ATTRIBUTES",
                                  flags, msg->elements[i].name);
                        goto failed;
                }
@@ -164,7 +164,7 @@ static int ltdb_attributes_load(struct ldb_module *module)
                s = ldb_standard_syntax_by_name(ldb, syntax);
                if (s == NULL) {
                        ldb_debug(ldb, LDB_DEBUG_ERROR, 
-                                 "Invalid attribute syntax '%s' for '%s' in @ATTRIBUTES\n",
+                                 "Invalid attribute syntax '%s' for '%s' in @ATTRIBUTES",
                                  syntax, msg->elements[i].name);
                        goto failed;
                }