Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
removes uneeded data
[src/app-framework-binder.git]
/
src
/
afb-hreq.c
diff --git
a/src/afb-hreq.c
b/src/afb-hreq.c
index
7bee69b
..
f7f3bb1
100644
(file)
--- a/
src/afb-hreq.c
+++ b/
src/afb-hreq.c
@@
-75,7
+75,7
@@
int afb_hreq_unprefix(struct afb_hreq *hreq, const char *prefix, size_t length)
{
/* check the prefix ? */
if (length > hreq->lentail || (hreq->tail[length] && hreq->tail[length] != '/')
- ||
mem
cmp(prefix, hreq->tail, length))
+ ||
strncase
cmp(prefix, hreq->tail, length))
return 0;
/* removes successives / */