Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
asapo
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
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab update on
10 April 7 a.m. CEST
Show more breadcrumbs
Joao Alvim Oliveira Dias De Almeida
asapo
Commits
e4f7f8a6
Commit
e4f7f8a6
authored
4 years ago
by
Carsten Patzke
Browse files
Options
Downloads
Patches
Plain Diff
Edited a comment
parent
09465e3b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/cpp/include/common/networking.h
+1
-1
1 addition, 1 deletion
common/cpp/include/common/networking.h
with
1 addition
and
1 deletion
common/cpp/include/common/networking.h
+
1
−
1
View file @
e4f7f8a6
...
...
@@ -54,7 +54,7 @@ struct GenericRequestHeader {
strncpy
(
substream
,
header
.
substream
,
kMaxMessageSize
);
}
/*
THIS CONSTRUCTOR SHOULD ONLY BE CALLED FOR TESTS! (because the message is only being strncpy'ed
*/
/*
Keep in mind that the message here is just strncpy'ed, you can change the message later
*/
GenericRequestHeader
(
Opcode
i_op_code
=
kOpcodeUnknownOp
,
uint64_t
i_data_id
=
0
,
uint64_t
i_data_size
=
0
,
uint64_t
i_meta_size
=
0
,
const
std
::
string
&
i_message
=
""
,
const
std
::
string
&
i_substream
=
""
)
:
...
...
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