From 53e2ccb96ebf6b2b0cbe3eb53ca30bed2994b60c Mon Sep 17 00:00:00 2001 From: Tim Champagne Date: Tue, 20 May 2003 20:40:29 +0000 Subject: This fixes http support for Win32 CVS patchset: 4891 CVS date: 2003/05/20 20:40:29 --- src/input/input_cdda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/input_cdda.c') 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"); -- cgit v1.2.3