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

Jack Moffitt jack at xiph.org
Tue Jan 22 19:11:51 PST 2002



jack        02/01/22 19:11:51

  Modified:    include/shout shout.h
               src      shout.c vorbis.c
  Log:
  Typos. :(

Revision  Changes    Path
1.6       +2 -2      libshout/include/shout/shout.h

Index: shout.h
===================================================================
RCS file: /usr/local/cvsroot/libshout/include/shout/shout.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- shout.h	2002/01/23 03:08:39	1.5
+++ shout.h	2002/01/23 03:11:50	1.6
@@ -53,7 +53,7 @@
 const char *shout_get_host(shout_t *self);
 
 int shout_set_port(shout_t *self, unsigned short port);
-const char *shout_get_port(shout_t *self);
+unsigned short shout_get_port(shout_t *self);
 
 int shout_set_password(shout_t *, const char *password);
 const char *shout_get_password(shout_t *self);
@@ -68,7 +68,7 @@
 const char *shout_get_url(shout_t *self);
 
 int shout_set_genre(shout_t *self, const char *genre);
-const char *shout_set_genre(shout_t *self);
+const char *shout_get_genre(shout_t *self);
 
 int shout_set_description(shout_t *self, const char *description);
 const char *shout_get_description(shout_t *self);

<p><p>1.5       +2 -2      libshout/src/shout.c

Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- shout.c	2002/01/23 03:08:39	1.4
+++ shout.c	2002/01/23 03:11:50	1.5
@@ -137,7 +137,7 @@
         if (self->starttime <= 0)
                 self->starttime = timing_get_time();
 
-	return self->send(self, buff, len);
+	return self->send(self, data, len);
 }
 
 ssize_t shout_send_raw(shout_t *self, const unsigned char *data, size_t len)
@@ -148,7 +148,7 @@
                 return SHOUTERR_INSANE;
 
         if (len) {
-		ret = sock_write_bytes(self->socket, buff, len);
+		ret = sock_write_bytes(self->socket, data, len);
                 if (ret < 0 || (size_t)ret != len) {
                         self->error = SHOUTERR_SOCKET;
                         return ret;

<p><p>1.2       +1 -1      libshout/src/vorbis.c

Index: vorbis.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/vorbis.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vorbis.c	2002/01/23 03:08:39	1.1
+++ vorbis.c	2002/01/23 03:11:50	1.2
@@ -53,7 +53,7 @@
         vorbis_comment vc;
 
         buffer = ogg_sync_buffer(&vorbis_data->oy, len);
-	memcpy(buffer, buff, len);
+	memcpy(buffer, data, len);
         ogg_sync_wrote(&vorbis_data->oy, len);
 
         while (ogg_sync_pageout(&vorbis_data->oy, &og) == 1) {

<p><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