Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
b3717a20
Commit
b3717a20
authored
Mar 04, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not print extra STRING_CR on successfull command.
parent
a5b2b256
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/control/telnet.c
modules/control/telnet.c
+4
-3
No files found.
modules/control/telnet.c
View file @
b3717a20
...
...
@@ -493,11 +493,12 @@ static char *MessageToString( vlm_message_t *message, int i_level )
else
if
(
!
i_level
&&
!
message
->
i_child
&&
!
message
->
psz_value
)
{
/* A command is successful. Don't write anything */
return
strdup
(
STRING_CR
STRING_TAIL
);
return
strdup
(
/*STRING_CR*/
STRING_TAIL
);
}
i_message
+=
strlen
(
message
->
psz_name
)
+
i_level
*
sizeof
(
" "
)
+
1
;
psz_message
=
malloc
(
i_message
);
*
psz_message
=
0
;
psz_message
=
malloc
(
i_message
);
*
psz_message
=
0
;
for
(
i
=
0
;
i
<
i_level
;
i
++
)
strcat
(
psz_message
,
" "
);
strcat
(
psz_message
,
message
->
psz_name
);
...
...
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