Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
MobiusMei
ygopro
Commits
76d61cf1
Commit
76d61cf1
authored
Sep 11, 2022
by
Edoardo Lolletti
Committed by
GitHub
Sep 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update duelclient.cpp
parent
1637e7a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gframe/duelclient.cpp
gframe/duelclient.cpp
+2
-2
No files found.
gframe/duelclient.cpp
View file @
76d61cf1
...
@@ -4031,9 +4031,9 @@ void DuelClient::BroadcastReply(evutil_socket_t fd, short events, void * arg) {
...
@@ -4031,9 +4031,9 @@ void DuelClient::BroadcastReply(evutil_socket_t fd, short events, void * arg) {
socklen_t
sz
=
sizeof
(
sockaddr_in
);
socklen_t
sz
=
sizeof
(
sockaddr_in
);
char
buf
[
256
];
char
buf
[
256
];
/*int ret = */
recvfrom
(
fd
,
buf
,
256
,
0
,
(
sockaddr
*
)
&
bc_addr
,
&
sz
);
/*int ret = */
recvfrom
(
fd
,
buf
,
256
,
0
,
(
sockaddr
*
)
&
bc_addr
,
&
sz
);
if
(
is_closing
||
pHP
->
identifier
==
NETWORK_SERVER_ID
)
return
;
HostPacket
*
pHP
=
(
HostPacket
*
)
buf
;
HostPacket
*
pHP
=
(
HostPacket
*
)
buf
;
if
(
is_closing
||
pHP
->
identifier
!=
NETWORK_SERVER_ID
)
return
;
if
(
pHP
->
version
!=
PRO_VERSION
)
if
(
pHP
->
version
!=
PRO_VERSION
)
return
;
return
;
unsigned
int
ipaddr
=
bc_addr
.
sin_addr
.
s_addr
;
unsigned
int
ipaddr
=
bc_addr
.
sin_addr
.
s_addr
;
...
...
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