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

Brendan brendan at xiph.org
Mon Mar 10 22:34:38 PST 2003


brendan     03/03/11 01:34:38

  Modified:    src      util.c
  Log:
  This has been wrong forever.

Revision  Changes    Path
1.15      +1 -1      libshout/src/util.c

Index: util.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/util.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- util.c	10 Mar 2003 06:53:33 -0000	1.14
+++ util.c	11 Mar 2003 06:34:38 -0000	1.15
@@ -119,7 +119,7 @@
                         *q = *p;
                 } else {
                         *q++ = '%';
-			digit = *p >> 4;
+			digit = (*p >> 4) & 0xF;
                         *q++ = urltable[digit];
                         digit = *p & 0xf;
                         *q = urltable[digit];

<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