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
7fdf2205
Commit
7fdf2205
authored
Nov 21, 2013
by
Jeroen Vreeken
Browse files
Add missing space.
Fix type for no connection to warning
parent
901683ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
common/log/log.c
View file @
7fdf2205
...
...
@@ -427,7 +427,7 @@ void log_string(char *str, size_t len, enum log_type type, char *fmt, ...)
len
-=
strlen
(
str
);
str
+=
strlen
(
str
);
plen
=
snprintf
(
str
,
len
,
logtype
(
type
));
plen
=
snprintf
(
str
,
len
,
" %s"
,
logtype
(
type
));
len
-=
plen
;
str
+=
plen
;
...
...
console/console/log_proxy.c
View file @
7fdf2205
...
...
@@ -192,7 +192,7 @@ int main (int argc, char **argv)
status
[
strlen
(
status
)]
=
'\n'
;
statlen
=
strlen
(
status
);
}
else
{
log_string
(
status
,
999
,
LOG_T_
INFO
,
log_string
(
status
,
999
,
LOG_T_
WARNING
,
"New connection to proxy, no connection to controller.
\n
"
);
status
[
strlen
(
status
)
+
1
]
=
0
;
status
[
strlen
(
status
)]
=
'\n'
;
...
...
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