Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
9f222eec
Commit
9f222eec
authored
Jan 27, 2022
by
Rob Swindell
💬
Browse files
Another place where lib_t.vdir needs to be used in place of sname
parent
fc3addb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/js_file_area.c
src/sbbs3/js_file_area.c
+1
-1
No files found.
src/sbbs3/js_file_area.c
View file @
9f222eec
...
...
@@ -322,7 +322,7 @@ JSBool js_file_area_resolve(JSContext* cx, JSObject* areaobj, jsid id)
if
(
!
JS_SetProperty
(
cx
,
libobj
,
"ars"
,
&
val
))
return
JS_FALSE
;
sprintf
(
vpath
,
"/%s/%s"
,
p
->
cfg
->
lib
[
l
]
->
sname
,
p
->
html_index_file
);
sprintf
(
vpath
,
"/%s/%s"
,
p
->
cfg
->
lib
[
l
]
->
vdir
,
p
->
html_index_file
);
if
((
js_str
=
JS_NewStringCopyZ
(
cx
,
vpath
))
==
NULL
)
return
JS_FALSE
;
val
=
STRING_TO_JSVAL
(
js_str
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment