[xiph-cvs] cvs commit: icecast/src connection.c

Ed oddsock at xiph.org
Wed Jun 4 21:15:58 PDT 2003



oddsock     03/06/05 00:15:58

  Modified:    src      connection.c
  Log:
  fixed check for regular file type in win32-specific code

Revision  Changes    Path
1.71      +1 -1      icecast/src/connection.c

Index: connection.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/connection.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- connection.c	15 May 2003 23:19:57 -0000	1.70
+++ connection.c	5 Jun 2003 04:15:58 -0000	1.71
@@ -727,7 +727,7 @@
     }
     else if(fileserve && stat(fullpath, &statbuf) == 0 && 
 #ifdef _WIN32
-            (statbuf.st_mode == S_IFREG))
+            ((statbuf.st_mode) & _S_IFREG))
 #else
             S_ISREG(statbuf.st_mode)) 
 #endif

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list