git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b38e62
)
r8358: Return an error message if js include path not set instead of silently
author
Tim Potter
<tpot@samba.org>
Tue, 12 Jul 2005 07:17:04 +0000
(07:17 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:20:11 +0000
(13:20 -0500)
failing.
(This used to be commit
797d9cf0c72992b2d5b9912d0f41873b6acc3195
)
source4/scripting/ejs/smbcalls.c
patch
|
blob
|
history
diff --git
a/source4/scripting/ejs/smbcalls.c
b/source4/scripting/ejs/smbcalls.c
index e58151620fdc839867f223d0b6339f796e2c1de3..abcde06e30e696e8b54b00a10cbb559c2f565fd3 100644
(file)
--- a/
source4/scripting/ejs/smbcalls.c
+++ b/
source4/scripting/ejs/smbcalls.c
@@
-74,6
+74,7
@@
static int ejs_libinclude(int eid, int argc, char **argv)
const char **js_include = lp_js_include();
if (js_include == NULL || js_include[0] == NULL) {
+ ejsSetErrorMsg(eid, "js include path not set");
return -1;
}