]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
htsbuf: remove double ;; in htsbuf_append_and_escape_url()
authorJaroslav Kysela <perex@perex.cz>
Mon, 9 Oct 2017 07:24:56 +0000 (09:24 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 9 Oct 2017 08:23:37 +0000 (10:23 +0200)
src/htsbuf.c

index 22f029a6f3027606991ddb99539bed1c81c5e95b..c9193e92f287e3fff631078141daf806dbc93bce 100644 (file)
@@ -418,7 +418,7 @@ htsbuf_append_and_escape_url(htsbuf_queue_t *hq, const char *s)
       static const char hexchars[16] = "0123456789ABCDEF";
       buf[0] = '%';
       buf[1] = hexchars[(C >> 4) & 0xf];
-      buf[2] = hexchars[C & 0xf];;
+      buf[2] = hexchars[C & 0xf];
       buf[3] = 0;
       esc = buf;
     }