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
52f2126b
Commit
52f2126b
authored
Oct 08, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/misc/sap.c: fixed win32 breakage.
parent
260e120d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/misc/sap.c
modules/misc/sap.c
+5
-5
No files found.
modules/misc/sap.c
View file @
52f2126b
...
...
@@ -2,7 +2,7 @@
* sap.c : SAP interface module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: sap.c,v 1.2
5 2003/10/08 10:07:22 zorglub
Exp $
* $Id: sap.c,v 1.2
6 2003/10/08 18:26:58 gbazin
Exp $
*
* Authors: Arnaud Schauly <gitan@via.ecp.fr>
* Clment Stenac <zorglub@via.ecp.fr>
...
...
@@ -65,9 +65,9 @@
#endif
#ifdef UNDER_CE
# define close(a) CloseHandle(a)
;
# define close(a) CloseHandle(a)
#elif defined( WIN32 )
# define close(a) closesocket(a)
;
# define close(a) closesocket(a)
#endif
#include "network.h"
...
...
@@ -326,14 +326,14 @@ static void Run( intf_thread_t *p_intf )
{
if
(
close
(
fd
)
)
{
msg_Warn
(
p_intf
,
"Ohoh, unable to close the socket"
)
;
msg_Warn
(
p_intf
,
"Ohoh, unable to close the socket"
)
;
}
}
if
(
fdv6
)
{
if
(
close
(
fdv6
)
)
{
msg_Warn
(
p_intf
,
"Ohoh, unable to close the socket"
)
;
msg_Warn
(
p_intf
,
"Ohoh, unable to close the socket"
)
;
}
}
}
...
...
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