svn commit: samba r19157 - in branches/SAMBA_3_0/source/param: .
vlendec at samba.org
vlendec at samba.org
Fri Oct 6 19:49:16 GMT 2006
Author: vlendec
Date: 2006-10-06 19:49:16 +0000 (Fri, 06 Oct 2006)
New Revision: 19157
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19157
Log:
Fix the build
Modified:
branches/SAMBA_3_0/source/param/loadparm.c
Changeset:
Modified: branches/SAMBA_3_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_3_0/source/param/loadparm.c 2006-10-06 19:32:52 UTC (rev 19156)
+++ branches/SAMBA_3_0/source/param/loadparm.c 2006-10-06 19:49:16 UTC (rev 19157)
@@ -5197,6 +5197,18 @@
return result;
}
+struct share_params *next_printer(struct share_iterator *list)
+{
+ struct share_params *result;
+
+ while ((result = next_share(list)) != NULL) {
+ if (lp_print_ok(result->service)) {
+ break;
+ }
+ }
+ return result;
+}
+
/*******************************************************************
A useful volume label function.
********************************************************************/
More information about the samba-cvs
mailing list