svn commit: samba r14019 - in trunk/source/param: .
jra at samba.org
jra at samba.org
Wed Mar 8 06:32:40 GMT 2006
Author: jra
Date: 2006-03-08 06:32:36 +0000 (Wed, 08 Mar 2006)
New Revision: 14019
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14019
Log:
Coverity error CID #27. Missing return -1 on error condition.
Jeremy.
Modified:
trunk/source/param/loadparm.c
Changeset:
Modified: trunk/source/param/loadparm.c
===================================================================
--- trunk/source/param/loadparm.c 2006-03-08 06:32:26 UTC (rev 14018)
+++ trunk/source/param/loadparm.c 2006-03-08 06:32:36 UTC (rev 14019)
@@ -4534,6 +4534,7 @@
if (lines == NULL) {
DEBUG(0,("process_usershare_file: loading file %s owned by %u failed.\n",
fname, (unsigned int)sbuf.st_uid ));
+ return -1;
}
/* Should we allow printers to be shared... ? */
More information about the samba-cvs
mailing list