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
add687c5
Commit
add687c5
authored
May 27, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/control/netsync.c: test before you commit.
parent
e584575d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
modules/control/netsync.c
modules/control/netsync.c
+9
-4
No files found.
modules/control/netsync.c
View file @
add687c5
...
...
@@ -148,11 +148,16 @@ static void Run( intf_thread_t *p_intf )
char
p_data
[
MAX_MSG_LENGTH
];
int
i_socket
;
if
(
!
b_master
&&
(
!
psz_master
||
inet_addr
(
psz_master
)
==
INADDR_NONE
)
)
if
(
!
psz_master
||
inet_addr
(
psz_master
)
==
INADDR_NONE
)
{
if
(
psz_master
)
free
(
psz_master
);
msg_Err
(
p_intf
,
"invalid master address."
);
return
;
if
(
!
b_master
)
{
if
(
psz_master
)
free
(
psz_master
);
msg_Err
(
p_intf
,
"invalid master address."
);
return
;
}
if
(
!
psz_master
)
psz_master
=
strdup
(
""
);
}
memset
(
&
master_addr
,
0
,
sizeof
(
struct
sockaddr_in
)
);
...
...
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