[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-874-geb33d30
Günther Deschner
gd at samba.org
Sun Apr 13 15:41:16 GMT 2008
The branch, v3-2-test has been updated
via eb33d30d80ab2fe770e248f5b2a70a83a43dd156 (commit)
via b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5 (commit)
from c2d9baa29edb2356f32ca19aea828184e9ac7b93 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit eb33d30d80ab2fe770e248f5b2a70a83a43dd156
Author: Günther Deschner <gd at samba.org>
Date: Sun Apr 13 17:33:27 2008 +0200
libnetapi: don't to try to free NULL struct.
Guenther
commit b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5
Author: Günther Deschner <gd at samba.org>
Date: Sun Apr 13 17:32:07 2008 +0200
gpo: make integer debug print more readable.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/lib/netapi/netapi.c | 4 ++++
source/libgpo/gpo_reg.c | 6 ++++--
2 files changed, 8 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/netapi/netapi.c b/source/lib/netapi/netapi.c
index cb218f0..f15e5bf 100644
--- a/source/lib/netapi/netapi.c
+++ b/source/lib/netapi/netapi.c
@@ -117,6 +117,10 @@ NET_API_STATUS libnetapi_getctx(struct libnetapi_ctx **ctx)
NET_API_STATUS libnetapi_free(struct libnetapi_ctx *ctx)
{
+ if (!ctx) {
+ return NET_API_STATUS_SUCCESS;
+ }
+
libnetapi_shutdown_cm(ctx);
if (ctx->krb5_cc_env) {
diff --git a/source/libgpo/gpo_reg.c b/source/libgpo/gpo_reg.c
index de4a793..06ebdc4 100644
--- a/source/libgpo/gpo_reg.c
+++ b/source/libgpo/gpo_reg.c
@@ -794,10 +794,12 @@ void dump_reg_val(int lvl, const char *direction,
switch (val->type) {
case REG_DWORD:
- DEBUG(lvl,("%d\n", (int)val->v.dword));
+ DEBUG(lvl,("%d (0x%08x)\n",
+ (int)val->v.dword, val->v.dword));
break;
case REG_QWORD:
- DEBUG(lvl,("%d\n", (int)val->v.qword));
+ DEBUG(lvl,("%d (0x%016lx)\n",
+ (int)val->v.qword, val->v.qword));
break;
case REG_SZ:
DEBUG(lvl,("%s (length: %d)\n",
--
Samba Shared Repository
More information about the samba-cvs
mailing list