Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
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
dvblast
Commits
39709170
Commit
39709170
authored
Aug 13, 2009
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dvblastctl.c: Fix a gcc warning.
parent
28b2f3a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
dvblastctl.c
dvblastctl.c
+7
-2
No files found.
dvblastctl.c
View file @
39709170
...
...
@@ -48,7 +48,7 @@ void usage()
int
main
(
int
i_argc
,
char
**
ppsz_argv
)
{
char
psz_client_socket
[
FILENAME_MAX
];
char
psz_client_socket
[
L_tmpnam
];
char
*
psz_srv_socket
=
NULL
;
int
i_fd
,
i_mask
;
int
i
=
65535
;
...
...
@@ -104,7 +104,12 @@ int main( int i_argc, char **ppsz_argv )
usage
();
#warning expect brain-dead gcc warning about tmpnam here
tmpnam
(
psz_client_socket
);
if
(
tmpnam
(
psz_client_socket
)
==
NULL
)
{
msg_Err
(
NULL
,
"cannot build UNIX socket (%s)"
,
strerror
(
errno
)
);
return
-
1
;
}
if
(
(
i_fd
=
socket
(
AF_UNIX
,
SOCK_DGRAM
,
0
))
<
0
)
{
msg_Err
(
NULL
,
"cannot create UNIX socket (%s)"
,
strerror
(
errno
)
);
...
...
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