Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
454
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
2487f4b1
Commit
2487f4b1
authored
16 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo
parent
5112dd3d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/network/tcp.c
+6
-6
6 additions, 6 deletions
src/network/tcp.c
with
6 additions
and
6 deletions
src/network/tcp.c
+
6
−
6
View file @
2487f4b1
...
...
@@ -58,7 +58,7 @@
# define ETIMEDOUT WSAETIMEDOUT
#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
);
static
int
SocksHandshakeTCP
(
vlc_object_t
*
,
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 )
/*****************************************************************************
* 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
,
const
char
*
psz_socks_user
,
const
char
*
psz_socks_passwd
)
...
...
@@ -350,7 +350,7 @@ static int SocksNegociate( vlc_object_t *p_obj,
if
(
i_socks_version
!=
5
)
return
VLC_SUCCESS
;
/* We nego
c
iate authentication */
/* We nego
t
iate authentication */
if
(
(
psz_socks_user
==
NULL
)
&&
(
psz_socks_passwd
==
NULL
)
)
b_auth
=
true
;
...
...
@@ -442,7 +442,7 @@ static int SocksHandshakeTCP( vlc_object_t *p_obj,
}
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
)
)
return
VLC_EGENERIC
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment