projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Include <config.h>.
[gnulib.git]
/
lib
/
strcasestr.c
diff --git
a/lib/strcasestr.c
b/lib/strcasestr.c
index
de4cf45
..
5a0fc42
100644
(file)
--- a/
lib/strcasestr.c
+++ b/
lib/strcasestr.c
@@
-88,7
+88,7
@@
strcasestr (const char *haystack, const char *needle)
{
if (!mbui_avail (rneedle))
/* Found a match. */
- return (char *)
haystack
;
+ return (char *)
mbui_cur_ptr (iter_haystack)
;
if (!mbui_avail (rhaystack))
/* No match. */
return NULL;