Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
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
Hide 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
...
@@ -193,7 +193,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -193,7 +193,7 @@ static int Open( vlc_object_t *p_this )
}
}
msg_Info
(
p_intf
,
msg_Info
(
p_intf
,
"Telnet interface started on interface %s %d"
,
"Telnet interface started on interface %s %d"
,
url
.
psz_host
,
url
.
i_port
);
url
.
psz_host
,
url
.
i_port
);
p_intf
->
p_sys
->
i_clients
=
0
;
p_intf
->
p_sys
->
i_clients
=
0
;
p_intf
->
p_sys
->
clients
=
NULL
;
p_intf
->
p_sys
->
clients
=
NULL
;
...
@@ -493,11 +493,12 @@ static char *MessageToString( vlm_message_t *message, int i_level )
...
@@ -493,11 +493,12 @@ static char *MessageToString( vlm_message_t *message, int i_level )
else
if
(
!
i_level
&&
!
message
->
i_child
&&
!
message
->
psz_value
)
else
if
(
!
i_level
&&
!
message
->
i_child
&&
!
message
->
psz_value
)
{
{
/* A command is successful. Don't write anything */
/* 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
;
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
,
" "
);
for
(
i
=
0
;
i
<
i_level
;
i
++
)
strcat
(
psz_message
,
" "
);
strcat
(
psz_message
,
message
->
psz_name
);
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