[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-test-1379-g08c1720
Günther Deschner
gd at samba.org
Tue Jan 15 16:01:53 GMT 2008
The branch, v3-2-test has been updated
via 08c1720509dffa2886ed057e2d14907699122f3c (commit)
from 7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 08c1720509dffa2886ed057e2d14907699122f3c
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 15 17:00:14 2008 +0100
Use autogenerated debugging functions in libnetjoin when requested.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/libnet/libnet_join.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libnet/libnet_join.c b/source/libnet/libnet_join.c
index ce3a596..a189a38 100644
--- a/source/libnet/libnet_join.c
+++ b/source/libnet/libnet_join.c
@@ -1213,6 +1213,10 @@ WERROR libnet_Join(TALLOC_CTX *mem_ctx,
{
WERROR werr;
+ if (r->in.debug) {
+ NDR_PRINT_IN_DEBUG(libnet_JoinCtx, r);
+ }
+
werr = libnet_join_pre_processing(mem_ctx, r);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -1230,6 +1234,9 @@ WERROR libnet_Join(TALLOC_CTX *mem_ctx,
goto done;
}
done:
+ if (r->in.debug) {
+ NDR_PRINT_OUT_DEBUG(libnet_JoinCtx, r);
+ }
return werr;
}
@@ -1320,6 +1327,10 @@ WERROR libnet_Unjoin(TALLOC_CTX *mem_ctx,
{
WERROR werr;
+ if (r->in.debug) {
+ NDR_PRINT_IN_DEBUG(libnet_UnjoinCtx, r);
+ }
+
werr = libnet_unjoin_pre_processing(mem_ctx, r);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -1338,5 +1349,9 @@ WERROR libnet_Unjoin(TALLOC_CTX *mem_ctx,
}
done:
+ if (r->in.debug) {
+ NDR_PRINT_OUT_DEBUG(libnet_UnjoinCtx, r);
+ }
+
return werr;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list