r24566: Remove trailing newlines in ldb_debug(), these are not required.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 20 Aug 2007 00:22:08 +0000 (00:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:02:16 +0000 (15:02 -0500)
Andrew Bartlett
(This used to be commit 2ed782f7caa98003c524d70bcb97874002be57a2)

source4/lib/ldb/common/ldb_modules.c

index ad537b4d861517a872919fe6962223a32709906a..2c9fba590a4b4f5d1cf52f425fa75554a7d11aa3 100644 (file)
@@ -328,7 +328,7 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[])
                ret = ldb_search(ldb, mods_dn, LDB_SCOPE_BASE, "", attrs, &res);
                talloc_steal(mods_dn, res);
                if (ret == LDB_SUCCESS && (res->count == 0 || res->msgs[0]->num_elements == 0)) {
-                       ldb_debug(ldb, LDB_DEBUG_TRACE, "no modules required by the db\n");
+                       ldb_debug(ldb, LDB_DEBUG_TRACE, "no modules required by the db");
                } else {
                        if (ret != LDB_SUCCESS) {
                                ldb_debug(ldb, LDB_DEBUG_FATAL, "ldb error (%s) occurred searching for modules, bailing out\n", ldb_errstring(ldb));
@@ -356,7 +356,7 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[])
                        return ret;
                }
        } else {
-               ldb_debug(ldb, LDB_DEBUG_TRACE, "No modules specified for this database\n");
+               ldb_debug(ldb, LDB_DEBUG_TRACE, "No modules specified for this database");
        }
 
        return ldb_init_module_chain(ldb, ldb->modules);