svn commit: samba r8358 - in branches/SAMBA_4_0/source/scripting/ejs: .

tpot at samba.org tpot at samba.org
Tue Jul 12 07:17:05 GMT 2005


Author: tpot
Date: 2005-07-12 07:17:04 +0000 (Tue, 12 Jul 2005)
New Revision: 8358

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8358

Log:
Return an error message if js include path not set instead of silently
failing.

Modified:
   branches/SAMBA_4_0/source/scripting/ejs/smbcalls.c


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/smbcalls.c	2005-07-12 07:15:22 UTC (rev 8357)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbcalls.c	2005-07-12 07:17:04 UTC (rev 8358)
@@ -74,6 +74,7 @@
 	const char **js_include = lp_js_include();
 
 	if (js_include == NULL || js_include[0] == NULL) {
+		ejsSetErrorMsg(eid, "js include path not set");
 		return -1;
 	}
 



More information about the samba-cvs mailing list