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
db6ab93b
Commit
db6ab93b
authored
4 months ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
Fix warning on 64-bit Windows where a socket isn't an int.
Le sigh for the socket API.
parent
53cfb81a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/syncterm/conn.c
+1
-1
1 addition, 1 deletion
src/syncterm/conn.c
src/syncterm/conn.h
+1
-1
1 addition, 1 deletion
src/syncterm/conn.h
with
2 additions
and
2 deletions
src/syncterm/conn.c
+
1
−
1
View file @
db6ab93b
...
...
@@ -474,7 +474,7 @@ enum failure_reason {
FAILURE_DISCONNECTED
};
int
SOCKET
conn_socket_connect
(
struct
bbslist
*
bbs
)
{
SOCKET
sock
=
INVALID_SOCKET
;
...
...
This diff is collapsed.
Click to expand it.
src/syncterm/conn.h
+
1
−
1
View file @
db6ab93b
...
...
@@ -123,6 +123,6 @@ size_t conn_buf_wait_cond(struct conn_buffer *buf, size_t bcount, unsigned long
#define conn_buf_wait_bytes(buf, count, timeout) conn_buf_wait_cond(buf, count, timeout, 0)
#define conn_buf_wait_free(buf, count, timeout) conn_buf_wait_cond(buf, count, timeout, 1)
int
conn_socket_connect
(
struct
bbslist
*
bbs
);
SOCKET
conn_socket_connect
(
struct
bbslist
*
bbs
);
#endif // ifndef _CONN_H_
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