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
fd26cce2
Commit
fd26cce2
authored
Nov 21, 2013
by
Jeroen Vreeken
Browse files
log_ functions already add newline
parent
7fdf2205
Changes
1
Hide whitespace changes
Inline
Side-by-side
console/console/log_proxy.c
View file @
fd26cce2
...
...
@@ -187,13 +187,13 @@ int main (int argc, char **argv)
if
(
fd_log
>=
0
)
{
log_string
(
status
,
999
,
LOG_T_INFO
,
"New connection to proxy, controller conection is established.
\n
"
);
"New connection to proxy, controller conection is established."
);
status
[
strlen
(
status
)
+
1
]
=
0
;
status
[
strlen
(
status
)]
=
'\n'
;
statlen
=
strlen
(
status
);
}
else
{
log_string
(
status
,
999
,
LOG_T_WARNING
,
"New connection to proxy, no connection to controller.
\n
"
);
"New connection to proxy, no connection to controller."
);
status
[
strlen
(
status
)
+
1
]
=
0
;
status
[
strlen
(
status
)]
=
'\n'
;
statlen
=
strlen
(
status
);
...
...
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