[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-819-g563b837
Michael Adam
obnox at samba.org
Sat Apr 12 00:15:47 GMT 2008
The branch, v3-2-test has been updated
via 563b837b76e3a6086051fc56e0522b841939d37f (commit)
from d9bd894c2ec4faf87e8ff96e27c7e2b8175f9387 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 563b837b76e3a6086051fc56e0522b841939d37f
Author: Michael Adam <obnox at samba.org>
Date: Sat Apr 12 02:05:25 2008 +0200
libnetapi: fix interactive logging by preventing setup_logging from closing stderr.
Michael
-----------------------------------------------------------------------
Summary of changes:
source/lib/netapi/netapi.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/netapi/netapi.c b/source/lib/netapi/netapi.c
index 2478a8d..cb218f0 100644
--- a/source/lib/netapi/netapi.c
+++ b/source/lib/netapi/netapi.c
@@ -54,6 +54,9 @@ NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context)
if (!DEBUGLEVEL) {
DEBUGLEVEL = 0;
}
+
+ /* prevent setup_logging() from closing x_stderr... */
+ dbf = 0;
setup_logging("libnetapi", true);
dbf = x_stderr;
--
Samba Shared Repository
More information about the samba-cvs
mailing list