Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
dt_ctrl
Commits
473920ea
Commit
473920ea
authored
Sep 03, 2013
by
Jeroen Vreeken
Browse files
Extra LF is not needed.
parent
fb1d67f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
console/console/log_proxy.c
View file @
473920ea
...
...
@@ -43,10 +43,9 @@ char buffer[1000];
int
handle_cmd
(
char
*
command
)
{
strncpy
(
buffer
,
command
,
998
);
buffer
[
998
]
=
0
;
buffer
[
strlen
(
buffer
)
+
1
]
=
0
;
buffer
[
strlen
(
buffer
)]
=
'\n'
;
strncpy
(
buffer
,
command
,
999
);
buffer
[
999
]
=
0
;
buffer
[
strlen
(
buffer
)]
=
0
;
rb
=
strlen
(
buffer
);
printf
(
"Handling command rb = %d
\n
"
,
rb
);
...
...
Write
Preview
Supports
Markdown
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