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
1da48cfc
Commit
1da48cfc
authored
May 28, 2001
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Of course my Win32 patch broke the Un*x version.
parent
f9c0292d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/misc/netutils.c
src/misc/netutils.c
+3
-3
No files found.
src/misc/netutils.c
View file @
1da48cfc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* netutils.c: various network functions
* netutils.c: various network functions
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: netutils.c,v 1.3
2 2001/05/28 02:44:3
9 sam Exp $
* $Id: netutils.c,v 1.3
3 2001/05/28 02:54:0
9 sam Exp $
*
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Benoit Steiner <benny@via.ecp.fr>
* Benoit Steiner <benny@via.ecp.fr>
...
@@ -290,9 +290,9 @@ int network_ChannelJoin( int i_channel )
...
@@ -290,9 +290,9 @@ int network_ChannelJoin( int i_channel )
sa_server
.
sin_family
=
AF_INET
;
sa_server
.
sin_family
=
AF_INET
;
sa_server
.
sin_port
=
htons
(
INPUT_CHANNEL_PORT_DEFAULT
);
sa_server
.
sin_port
=
htons
(
INPUT_CHANNEL_PORT_DEFAULT
);
#ifdef HAVE_ARPA_INET_H
#ifdef HAVE_ARPA_INET_H
i
f
(
!
inet_aton
(
psz_server
,
&
p_socket
->
sin_addr
)
)
i
net_aton
(
INPUT_CHANNEL_SERVER_DEFAULT
,
&
sa_server
.
sin_addr
);
#else
#else
if
(
(
sa_server
.
sin_addr
.
s_addr
=
inet_addr
(
INPUT_CHANNEL_SERVER_DEFAULT
))
==
-
1
)
sa_server
.
sin_addr
.
s_addr
=
inet_addr
(
INPUT_CHANNEL_SERVER_DEFAULT
);
#endif
#endif
/*
/*
...
...
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