From d29d49aece521e919ab90061c6375170c941a9d9 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 16 May 2017 20:05:15 +0200 Subject: [PATCH] tweaks: remove an old fault-catching message --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.c b/src/utils.c index e7f8340c..8fc6a1a0 100644 --- 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; }