Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
1692de5e
Commit
1692de5e
authored
3 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Initialize more sbbs_t members in class declaration
CID 319034
parent
cb9a3753
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/sbbs.h
+7
-7
7 additions, 7 deletions
src/sbbs3/sbbs.h
with
7 additions
and
7 deletions
src/sbbs3/sbbs.h
+
7
−
7
View file @
1692de5e
...
...
@@ -406,11 +406,11 @@ public:
char
client_ipaddr
[
INET6_ADDRSTRLEN
];
char
local_addr
[
INET6_ADDRSTRLEN
];
#ifdef USE_CRYPTLIB
CRYPT_SESSION
ssh_session
;
CRYPT_SESSION
ssh_session
=-
1
;
#endif
int
session_channel
;
int
session_channel
=-
1
;
bool
ssh_mode
;
SOCKET
passthru_socket
;
SOCKET
passthru_socket
=
INVALID_SOCKET
;
bool
passthru_socket_active
;
void
passthru_socket_activate
(
bool
);
bool
passthru_thread_running
;
...
...
@@ -433,7 +433,7 @@ public:
RingBuf
inbuf
;
RingBuf
outbuf
;
bool
WaitForOutbufEmpty
(
int
timeout
)
{
return
WaitForEvent
(
outbuf
.
empty_event
,
timeout
)
==
WAIT_OBJECT_0
;
}
HANDLE
input_thread
;
HANDLE
input_thread
=
nullptr
;
pthread_mutex_t
input_thread_mutex
;
bool
input_thread_mutex_created
;
pthread_mutex_t
ssh_mutex
;
...
...
@@ -475,14 +475,14 @@ public:
bool
event_thread_running
;
bool
output_thread_running
;
bool
input_thread_running
;
bool
terminate_output_thread
;
bool
terminate_output_thread
=
false
;
JSRuntime
*
js_runtime
;
JSContext
*
js_cx
;
JSObject
*
js_glob
;
JSObject
*
js_glob
=
nullptr
;
JSRuntime
*
js_hotkey_runtime
;
JSContext
*
js_hotkey_cx
;
JSObject
*
js_hotkey_glob
;
JSObject
*
js_hotkey_glob
=
nullptr
;
js_callback_t
js_callback
{};
long
js_execfile
(
const
char
*
fname
,
const
char
*
startup_dir
,
JSObject
*
scope
=
NULL
,
JSContext
*
cx
=
NULL
,
JSObject
*
glob
=
NULL
);
long
js_execxtrn
(
const
char
*
fname
,
const
char
*
startup_dir
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment