summaryrefslogtreecommitdiff
path: root/src/input/input_cdda.c
diff options
context:
space:
mode:
authorTim Champagne <tchamp@users.sourceforge.net>2003-05-20 20:40:29 +0000
committerTim Champagne <tchamp@users.sourceforge.net>2003-05-20 20:40:29 +0000
commit53e2ccb96ebf6b2b0cbe3eb53ca30bed2994b60c (patch)
treedc841b8ae42a333d23e4602318d1471525969bd5 /src/input/input_cdda.c
parent19bf4a9a9080c61b9d745235f8c371392b76ae9d (diff)
downloadxine-lib-53e2ccb96ebf6b2b0cbe3eb53ca30bed2994b60c.tar.gz
xine-lib-53e2ccb96ebf6b2b0cbe3eb53ca30bed2994b60c.tar.bz2
This fixes http support for Win32
CVS patchset: 4891 CVS date: 2003/05/20 20:40:29
Diffstat (limited to 'src/input/input_cdda.c')
-rw-r--r--src/input/input_cdda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c
index 0948ed035..c7a93a1bb 100644
--- a/src/input/input_cdda.c
+++ b/src/input/input_cdda.c
@@ -20,7 +20,7 @@
* Compact Disc Digital Audio (CDDA) Input Plugin
* by Mike Melanson (melanson@pcisys.net)
*
- * $Id: input_cdda.c,v 1.25 2003/05/20 16:23:44 tchamp Exp $
+ * $Id: input_cdda.c,v 1.26 2003/05/20 20:40:29 tchamp Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -840,7 +840,7 @@ static int host_connect_attempt (struct in_addr ia, int port)
#ifndef WIN32
if (connect(s, (struct sockaddr *)&sin, sizeof(sin))==-1 && errno != EINPROGRESS)
#else
- if (connect(s, (struct sockaddr *)&sin, sizeof(sin))==-1 && WSAGetLastError != WSAEINPROGRESS)
+ if (connect(s, (struct sockaddr *)&sin, sizeof(sin))==-1 && WSAGetLastError() != WSAEINPROGRESS)
#endif /* WIN32 */
{
printf("input_cdda: cannot connect to host\n");