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

Brendan brendan at xiph.org
Wed Mar 12 11:46:12 PST 2003



brendan     03/03/12 14:46:12

  Modified:    include/shout shout.h
               src      shout.c
  Log:
  Return more useful message when HTTP login fails

Revision  Changes    Path
1.16      +0 -1      libshout/include/shout/shout.h

Index: shout.h
===================================================================
RCS file: /usr/local/cvsroot/libshout/include/shout/shout.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- shout.h	22 Feb 2003 21:08:10 -0000	1.15
+++ shout.h	12 Mar 2003 19:46:12 -0000	1.16
@@ -17,7 +17,6 @@
 #define SHOUTERR_CONNECTED	(7)
 #define SHOUTERR_UNCONNECTED	(8)
 #define SHOUTERR_UNSUPPORTED	(9)
-#define SHOUTERR_REFUSED	(10)
 
 #define SHOUT_FORMAT_VORBIS	(0)
 #define SHOUT_FORMAT_MP3	(1)

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

Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- shout.c	11 Mar 2003 07:00:10 -0000	1.33
+++ shout.c	12 Mar 2003 19:46:12 -0000	1.34
@@ -856,7 +856,7 @@
         }
 
         httpp_destroy(parser);
-	return self->error = SHOUTERR_REFUSED;
+	return self->error = SHOUTERR_NOLOGIN;
 }
 
 static int login_xaudiocast(shout_t *self)

<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