[libdmapsharing] Fix for "bytes=" check in daap-share.c; thanks Bastien Nocera
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Fix for "bytes=" check in daap-share.c; thanks Bastien Nocera
- Date: Fri, 11 Apr 2014 23:55:58 +0000 (UTC)
commit fbfd169b581d328df1b977dbcce6d2385bd271be
Author: W. Michael Petullo <mike flyn org>
Date: Fri Apr 11 19:55:40 2014 -0400
Fix for "bytes=" check in daap-share.c; thanks Bastien Nocera
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/daap-share.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libdmapsharing/daap-share.c b/libdmapsharing/daap-share.c
index dd152eb..d9fa1a6 100644
--- a/libdmapsharing/daap-share.c
+++ b/libdmapsharing/daap-share.c
@@ -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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]