Commit fbfd169b authored by W. Michael Petullo's avatar W. Michael Petullo
Browse files

Fix for "bytes=" check in daap-share.c; thanks Bastien Nocera


Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent 610a17d2
......@@ -922,7 +922,7 @@ databases_items_xxx (DMAPShare * share,
const gchar *s;
gchar *content_range;
if (!g_ascii_strncasecmp (range_header, "bytes=", strlen("bytes="))) {
if (!g_str_has_prefix (range_header, "bytes=")) {
/* Not starting with "bytes=" ? */
offset = 0;
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment