svn commit: samba r16557 - in branches/SAMBA_4_0/source/torture: .
jpeach at samba.org
jpeach at samba.org
Tue Jun 27 06:17:11 GMT 2006
Author: jpeach
Date: 2006-06-27 06:17:11 +0000 (Tue, 27 Jun 2006)
New Revision: 16557
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16557
Log:
Silently succeed when torture_register_suite is passed NULL.
Modified:
branches/SAMBA_4_0/source/torture/torture.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/torture.c
===================================================================
--- branches/SAMBA_4_0/source/torture/torture.c 2006-06-27 05:49:09 UTC (rev 16556)
+++ branches/SAMBA_4_0/source/torture/torture.c 2006-06-27 06:17:11 UTC (rev 16557)
@@ -41,6 +41,10 @@
{
struct torture_suite_list *p, *n;
+ if (!suite) {
+ return NT_STATUS_OK;
+ }
+
n = talloc(talloc_autofree_context(), struct torture_suite_list);
n->suite = suite;
More information about the samba-cvs
mailing list