From 01fd4094faf9fa892faad3621433e5faa98157f9 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Fri, 15 Sep 2017 13:03:20 +0100 Subject: [PATCH] mime_type.c: Fix regexp in comment that describes following code. Fixes e35fb433. --- sbr/mime_type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbr/mime_type.c b/sbr/mime_type.c index 0bfc3377..cc6b1fbf 100644 --- a/sbr/mime_type.c +++ b/sbr/mime_type.c @@ -148,7 +148,7 @@ get_file_info(const char *proc, const char *file_name) if (!ok) return NULL; - /* s#^.*:[ \t]*##. */ + /* s#^[^:]*:[ \t]*##. */ info = buf; if ((needle = strchr(info, ':'))) { info = needle + 1; -- 2.56.0