svn commit: samba r24684 - in branches/SAMBA_4_0: .
source/lib/registry
jelmer at samba.org
jelmer at samba.org
Sun Aug 26 22:12:05 GMT 2007
Author: jelmer
Date: 2007-08-26 22:12:02 +0000 (Sun, 26 Aug 2007)
New Revision: 24684
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24684
Log:
Be a bit less verbose
Modified:
branches/SAMBA_4_0/
branches/SAMBA_4_0/source/lib/registry/ldb.c
branches/SAMBA_4_0/source/lib/registry/regf.c
Changeset:
Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...
Modified: branches/SAMBA_4_0/source/lib/registry/ldb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/ldb.c 2007-08-26 21:52:27 UTC (rev 24683)
+++ branches/SAMBA_4_0/source/lib/registry/ldb.c 2007-08-26 22:12:02 UTC (rev 24684)
@@ -295,11 +295,11 @@
ret = ldb_search(c, ldap_path, LDB_SCOPE_BASE, "(key=*)", NULL, &res);
if (ret != LDB_SUCCESS) {
- DEBUG(0, ("Error opening key '%s': %s\n",
+ DEBUG(3, ("Error opening key '%s': %s\n",
ldb_dn_get_linearized(ldap_path), ldb_errstring(c)));
return WERR_FOOBAR;
} else if (res->count == 0) {
- DEBUG(0, ("Key '%s' not found\n", ldb_dn_get_linearized(ldap_path)));
+ DEBUG(3, ("Key '%s' not found\n", ldb_dn_get_linearized(ldap_path)));
talloc_free(res);
return WERR_NOT_FOUND;
}
Modified: branches/SAMBA_4_0/source/lib/registry/regf.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/regf.c 2007-08-26 21:52:27 UTC (rev 24683)
+++ branches/SAMBA_4_0/source/lib/registry/regf.c 2007-08-26 22:12:02 UTC (rev 24684)
@@ -1303,7 +1303,7 @@
}
}
if (!found_offset) {
- DEBUG(0, ("Subkey not found\n"));
+ DEBUG(2, ("Subkey not found\n"));
return WERR_NOT_FOUND;
}
li.key_count--;
@@ -1345,7 +1345,7 @@
}
}
if (!found_offset) {
- DEBUG(0, ("Subkey not found\n"));
+ DEBUG(2, ("Subkey not found\n"));
return WERR_NOT_FOUND;
}
lf.key_count--;
@@ -1487,7 +1487,7 @@
/* Find the key */
if (!W_ERROR_IS_OK(regf_get_subkey_by_name(parent_nk, parent, name,
(struct hive_key **)&key))) {
- DEBUG(0, ("Key '%s' not found\n", name));
+ DEBUG(2, ("Key '%s' not found\n", name));
return WERR_NOT_FOUND;
}
More information about the samba-cvs
mailing list