[xiph-cvs] cvs commit: libshout/src shout.c

Brendan brendan at xiph.org
Mon Mar 10 23:00:10 PST 2003



brendan     03/03/11 02:00:10

  Modified:    .        configure.in
               src      shout.c
  Log:
  Note to self: stop smoking crack.

Revision  Changes    Path
1.24      +3 -12     libshout/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/libshout/configure.in,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- configure.in	11 Mar 2003 05:40:33 -0000	1.23
+++ configure.in	11 Mar 2003 07:00:09 -0000	1.24
@@ -1,5 +1,5 @@
 # Process this file with autoconf to produce a configure script.
-# $Id: configure.in,v 1.23 2003/03/11 05:40:33 brendan Exp $
+# $Id: configure.in,v 1.24 2003/03/11 07:00:09 brendan Exp $
 
 m4_define(libshout_major, 2)
 m4_define(libshout_minor, 0)
@@ -55,7 +55,7 @@
 
 dnl Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS([inttypes.h sys/socket.h])
+AC_CHECK_HEADERS([inttypes.h])
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
@@ -67,16 +67,7 @@
    AC_CHECK_SIZEOF(int)
    AC_CHECK_SIZEOF(long)
    AC_CHECK_SIZEOF(long long)])
-AC_CHECK_TYPES([socklen_t],,,
-  [#if HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-#if HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif])
+AC_CHECK_TYPES([socklen_t])
 AH_VERBATIM([X_HAVE_SOCKLEN_T],
   [#ifndef HAVE_SOCKLEN_T
 typedef int socklen_t;

<p><p>1.33      +4 -1      libshout/src/shout.c

Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- shout.c	9 Mar 2003 22:56:45 -0000	1.32
+++ shout.c	11 Mar 2003 07:00:10 -0000	1.33
@@ -781,7 +781,10 @@
         char header[4096];
         http_parser_t *parser;
         int code;
-	char *retcode, *realm;
+	char *retcode;
+#if 0
+	char *realm;
+#endif
     
         self->error = SHOUTERR_SOCKET;
 

<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