[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2143-g963efb5

Günther Deschner gd at samba.org
Mon Jun 8 17:57:39 GMT 2009


The branch, master has been updated
       via  963efb5542a18b545824ec2349fe9d2c590329b0 (commit)
       via  381f88f081788c5a49b763211a02f260cbd97e91 (commit)
      from  6f4044cae97ec1d2682a0e4332d7f9e414adfca2 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 963efb5542a18b545824ec2349fe9d2c590329b0
Author: Günther Deschner <gd at samba.org>
Date:   Wed Apr 8 21:29:16 2009 +0200

    s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.
    
    Guenther

commit 381f88f081788c5a49b763211a02f260cbd97e91
Author: Günther Deschner <gd at samba.org>
Date:   Mon Apr 27 11:14:44 2009 +0200

    s3-examples: fix usage for eventlog example script.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 examples/scripts/eventlog/parselog.pl |    2 +-
 source4/torture/rpc/eventlog.c        |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/examples/scripts/eventlog/parselog.pl b/examples/scripts/eventlog/parselog.pl
index 0c21a94..a2f9a27 100644
--- a/examples/scripts/eventlog/parselog.pl
+++ b/examples/scripts/eventlog/parselog.pl
@@ -20,7 +20,7 @@
 ##
 ######################################################################
 
-## usage: tail -f /var/log/syslog | parselog.pl | eventlogadm "Application"
+## usage: tail -f /var/log/syslog | parselog.pl | eventlogadm -o write "Application"
 
 while(<>) {
     chomp();
diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c
index 865b4e2..eac96ad 100644
--- a/source4/torture/rpc/eventlog.c
+++ b/source4/torture/rpc/eventlog.c
@@ -233,8 +233,8 @@ static bool test_ReportEventLog(struct torture_context *tctx,
 	r.in.strings = &strings;
 	r.in.data = NULL;
 	r.in.flags = 0;
-	r.out.record_number = &record_number;
-	r.out.time_written = &time_written;
+	r.in.record_number = r.out.record_number = &record_number;
+	r.in.time_written = r.out.time_written = &time_written;
 
 	torture_assert_ntstatus_ok(tctx,
 			dcerpc_eventlog_ReportEventW(p, tctx, &r),


-- 
Samba Shared Repository


More information about the samba-cvs mailing list