Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
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
nanahira
srvpro
Commits
8de268f9
Commit
8de268f9
authored
Sep 24, 2016
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
39c78a4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
ygopro-server.coffee
ygopro-server.coffee
+2
-2
ygopro-server.js
ygopro-server.js
+4
-2
No files found.
ygopro-server.coffee
View file @
8de268f9
...
...
@@ -686,8 +686,8 @@ net.createServer (client) ->
ctos_buffer
=
ctos_buffer
.
slice
(
2
+
ctos_message_length
)
ctos_message_length
=
0
ctos_proto
=
0
else
if
ctos_message_length
!=
17735
log
.
warn
(
"bad ctos_message length"
,
client
.
ip
,
ctos_buffer
.
length
,
ctos_message_length
,
ctos_proto
)
else
log
.
warn
(
"bad ctos_message length"
,
client
.
ip
,
ctos_buffer
.
length
,
ctos_message_length
,
ctos_proto
)
if
ctos_message_length
!=
17735
break
looplimit
++
...
...
ygopro-server.js
View file @
8de268f9
...
...
@@ -872,8 +872,10 @@
ctos_buffer
=
ctos_buffer
.
slice
(
2
+
ctos_message_length
);
ctos_message_length
=
0
;
ctos_proto
=
0
;
}
else
if
(
ctos_message_length
!==
17735
)
{
log
.
warn
(
"
bad ctos_message length
"
,
client
.
ip
,
ctos_buffer
.
length
,
ctos_message_length
,
ctos_proto
);
}
else
{
if
(
ctos_message_length
!==
17735
)
{
log
.
warn
(
"
bad ctos_message length
"
,
client
.
ip
,
ctos_buffer
.
length
,
ctos_message_length
,
ctos_proto
);
}
break
;
}
}
...
...
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