Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Synchronet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
138
Issues
138
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main
Synchronet
Compare Revisions
b71a818491f7a3b500d89491fed2d4129ccc4abf...a30b854100676b2c72aadfdc9a0a6d873fb622dc
Source
a30b854100676b2c72aadfdc9a0a6d873fb622dc
Select Git revision
...
Target
b71a818491f7a3b500d89491fed2d4129ccc4abf
Select Git revision
Compare
Commits (1)
"posts" property doesn't rely on subscan pointer.
· a30b8541
Rob Swindell
authored
Jan 01, 2021
a30b8541
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/js_msg_area.c
src/sbbs3/js_msg_area.c
+1
-1
No files found.
src/sbbs3/js_msg_area.c
View file @
a30b8541
...
...
@@ -296,7 +296,7 @@ static JSBool js_sub_get(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
if
(
scan
!=
NULL
)
*
vp
=
UINT_TO_JSVAL
(
scan
->
last
);
break
;
case
SUB_PROP_POSTS
:
if
(
scan
!=
NULL
)
*
vp
=
UINT_TO_JSVAL
(
getposts
(
p
->
cfg
,
p
->
subnum
));
*
vp
=
UINT_TO_JSVAL
(
getposts
(
p
->
cfg
,
p
->
subnum
));
break
;
}
...
...