commit d29d49aece521e919ab90061c6375170c941a9d9
parent e8f90789e9e05165c568a25a6bee93e7618bb803
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Tue, 16 May 2017 20:05:15 +0200
tweaks: remove an old fault-catching message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/utils.c b/src/utils.c
@@ -279,7 +279,7 @@ const char *strstrwrapper(const char *haystack, const char *needle,
regmatches[0].rm_eo = far_end;
if (regexec(&search_regexp, haystack, 10, regmatches,
REG_STARTEND) != 0)
- statusline(ALERT, "BAD: failed to refind the match!");
+ return NULL;
return haystack + regmatches[0].rm_so;
}