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
2487f4b1
Commit
2487f4b1
authored
Jun 08, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
5112dd3d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/network/tcp.c
src/network/tcp.c
+6
-6
No files found.
src/network/tcp.c
View file @
2487f4b1
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
# define ETIMEDOUT WSAETIMEDOUT
# define ETIMEDOUT WSAETIMEDOUT
#endif
#endif
static
int
SocksNego
c
iate
(
vlc_object_t
*
,
int
fd
,
int
i_socks_version
,
static
int
SocksNego
t
iate
(
vlc_object_t
*
,
int
fd
,
int
i_socks_version
,
const
char
*
psz_user
,
const
char
*
psz_passwd
);
const
char
*
psz_user
,
const
char
*
psz_passwd
);
static
int
SocksHandshakeTCP
(
vlc_object_t
*
,
static
int
SocksHandshakeTCP
(
vlc_object_t
*
,
int
fd
,
int
i_socks_version
,
int
fd
,
int
i_socks_version
,
...
@@ -334,11 +334,11 @@ int __net_Accept( vlc_object_t *p_this, int *pi_fd, mtime_t i_wait )
...
@@ -334,11 +334,11 @@ int __net_Accept( vlc_object_t *p_this, int *pi_fd, mtime_t i_wait )
/*****************************************************************************
/*****************************************************************************
* SocksNego
c
iate:
* SocksNego
t
iate:
*****************************************************************************
*****************************************************************************
* Nego
c
iate authentication with a SOCKS server.
* Nego
t
iate authentication with a SOCKS server.
*****************************************************************************/
*****************************************************************************/
static
int
SocksNego
c
iate
(
vlc_object_t
*
p_obj
,
static
int
SocksNego
t
iate
(
vlc_object_t
*
p_obj
,
int
fd
,
int
i_socks_version
,
int
fd
,
int
i_socks_version
,
const
char
*
psz_socks_user
,
const
char
*
psz_socks_user
,
const
char
*
psz_socks_passwd
)
const
char
*
psz_socks_passwd
)
...
@@ -350,7 +350,7 @@ static int SocksNegociate( vlc_object_t *p_obj,
...
@@ -350,7 +350,7 @@ static int SocksNegociate( vlc_object_t *p_obj,
if
(
i_socks_version
!=
5
)
if
(
i_socks_version
!=
5
)
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
/* We nego
c
iate authentication */
/* We nego
t
iate authentication */
if
(
(
psz_socks_user
==
NULL
)
&&
(
psz_socks_passwd
==
NULL
)
)
if
(
(
psz_socks_user
==
NULL
)
&&
(
psz_socks_passwd
==
NULL
)
)
b_auth
=
true
;
b_auth
=
true
;
...
@@ -442,7 +442,7 @@ static int SocksHandshakeTCP( vlc_object_t *p_obj,
...
@@ -442,7 +442,7 @@ static int SocksHandshakeTCP( vlc_object_t *p_obj,
}
}
if
(
i_socks_version
==
5
&&
if
(
i_socks_version
==
5
&&
SocksNego
c
iate
(
p_obj
,
fd
,
i_socks_version
,
SocksNego
t
iate
(
p_obj
,
fd
,
i_socks_version
,
psz_user
,
psz_passwd
)
)
psz_user
,
psz_passwd
)
)
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
...
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