Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dt_ctrl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ict
dt_ctrl
Merge requests
!17
Debian package building
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Debian package building
dpkg
into
jeroen
Overview
0
Commits
20
Pipelines
0
Changes
15
Open
Michel Roelofs
requested to merge
dpkg
into
jeroen
1 year ago
Overview
0
Commits
20
Pipelines
0
Changes
15
Expand
0
0
Merge request reports
Compare
jeroen
version 4
1c2b4d0b
1 year ago
version 3
8a6f9620
1 year ago
version 2
71f48206
1 year ago
version 1
090dbb04
1 year ago
jeroen (base)
and
latest version
latest version
cd0dc37c
20 commits,
1 year ago
version 4
1c2b4d0b
18 commits,
1 year ago
version 3
8a6f9620
17 commits,
1 year ago
version 2
71f48206
16 commits,
1 year ago
version 1
090dbb04
15 commits,
1 year ago
15 files
+
926
−
79
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
15
Search (e.g. *.vue) (Ctrl+P)
common/trace/trace_tcp.c
+
4
−
3
Options
@@ -216,7 +216,8 @@ int trace_packet_write_fd(int fd, struct trace_pkt *pkt)
while
(
start
<
pkt
->
len
)
for
(
i
=
start
;
i
<
pkt
->
len
;
i
++
)
{
if
(
pkt
->
data
[
i
]
==
TRACE_ESC
||
pkt
->
data
[
i
]
==
TRACE_END
)
{
unsigned
char
*
seq
;
unsigned
char
seq
[
2
];
seq
[
0
]
=
TRACE_ESC
;
r
=
write
(
fd
,
pkt
->
data
+
start
,
i
-
start
);
if
(
r
!=
i
-
start
)
@@ -224,9 +225,9 @@ int trace_packet_write_fd(int fd, struct trace_pkt *pkt)
start
=
i
+
1
;
if
(
pkt
->
data
[
i
]
==
TRACE_ESC
)
seq
=
(
unsigned
char
[
2
]){
TRACE_ESC
,
TRACE_ESC_ESC
}
;
seq
[
1
]
=
TRACE_ESC_ESC
;
else
seq
=
(
unsigned
char
[
2
]){
TRACE_ESC
,
TRACE_ESC_END
}
;
seq
[
1
]
=
TRACE_ESC_END
;
r
=
write
(
fd
,
seq
,
2
);
if
(
r
!=
2
)
goto
err_write
;
Loading