svn commit: samba r2940 - in branches/SAMBA_4_0/source/lib: .

jelmer at samba.org jelmer at samba.org
Tue Oct 12 15:57:21 GMT 2004


Author: jelmer
Date: 2004-10-12 15:57:20 +0000 (Tue, 12 Oct 2004)
New Revision: 2940

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib&rev=2940&nolog=1

Log:
Complain when there is an attempt to register a backend for a subsystem that does
not (yet) exist

Modified:
   branches/SAMBA_4_0/source/lib/module.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/module.c
===================================================================
--- branches/SAMBA_4_0/source/lib/module.c	2004-10-12 12:51:35 UTC (rev 2939)
+++ branches/SAMBA_4_0/source/lib/module.c	2004-10-12 15:57:20 UTC (rev 2940)
@@ -162,6 +162,8 @@
 		if(!strcmp(subsystem, s->name)) return s->callback(args);
 		s = s->next;
 	}
+	
+	DEBUG(0, ("Unable to register backend for subsystem '%s'\n", subsystem));
 
 	return NT_STATUS_NOT_IMPLEMENTED;
 }



More information about the samba-cvs mailing list