Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
9be50ecc
Commit
9be50ecc
authored
Feb 05, 2007
by
Pavlov Konstantin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't translate messages in telnet interface
parent
ac972be0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/control/telnet.c
modules/control/telnet.c
+4
-4
No files found.
modules/control/telnet.c
View file @
9be50ecc
...
...
@@ -267,7 +267,7 @@ static void Run( intf_thread_t *p_intf )
cl
=
malloc
(
sizeof
(
telnet_client_t
));
if
(
cl
)
{
char
*
psz_pwd
=
strdup
(
_
(
"Password"
)
);
char
*
psz_pwd
=
strdup
(
"Password"
);
char
*
psz_tmp
=
NULL
;
size_t
ctrl_len
=
strlen
(
":
\xff\xfb\x01
"
);
size_t
passwd_len
=
strlen
(
psz_pwd
);
...
...
@@ -395,7 +395,7 @@ static void Run( intf_thread_t *p_intf )
if
(
(
cl
->
p_buffer_read
-
cl
->
buffer_read
)
==
999
)
{
Write_message
(
cl
,
NULL
,
_
(
"Line too long
\r\n
"
)
,
Write_message
(
cl
,
NULL
,
"Line too long
\r\n
"
,
cl
->
i_mode
+
2
);
}
...
...
@@ -425,7 +425,7 @@ static void Run( intf_thread_t *p_intf )
*
cl
->
p_buffer_read
=
'\0'
;
if
(
strcmp
(
psz_password
,
cl
->
buffer_read
)
==
0
)
{
char
*
psz_welcome
=
strdup
(
_
(
"Welcome, Master"
)
);
char
*
psz_welcome
=
strdup
(
"Welcome, Master"
);
char
*
psz_tmp
=
NULL
;
size_t
welcome_len
=
strlen
(
psz_welcome
);
size_t
ctrl_len
=
strlen
(
"
\xff\xfc\x01\r\n
"
);
...
...
@@ -448,7 +448,7 @@ static void Run( intf_thread_t *p_intf )
{
/* wrong password */
Write_message
(
cl
,
NULL
,
_
(
"
\r\n
Wrong password.
\r\n
Password: "
)
,
"
\r\n
Wrong password.
\r\n
Password: "
,
WRITE_MODE_PWD
);
}
}
...
...
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