[libvirt PATCH 2/2] virlog: Remove stray "todo" in comment

Tim Wiederhake posted 2 patches 4 years, 10 months ago
There is a newer version of this series
[libvirt PATCH 2/2] virlog: Remove stray "todo" in comment
Posted by Tim Wiederhake 4 years, 10 months ago
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
---
 src/util/virlog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virlog.c b/src/util/virlog.c
index 7778724d58..73a2d6734f 100644
--- a/src/util/virlog.c
+++ b/src/util/virlog.c
@@ -1315,7 +1315,7 @@ virLogFilterNew(const char *match,
     ret->priority = priority;
 
     /* We must treat 'foo' as equiv to '*foo*' for g_pattern_match
-     * todo substring matches, so add 2 extra bytes
+     * substring matches, so add 2 extra bytes
      */
     ret->match = g_new0(char, mlen + 3);
     ret->match[0] = '*';
-- 
2.26.2

Re: [libvirt PATCH 2/2] virlog: Remove stray "todo" in comment
Posted by Ján Tomko 4 years, 9 months ago
On a Wednesday in 2021, Tim Wiederhake wrote:
>Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
>---

Fixes: 8fe30b2167b5b56461b11dbf02aca83030070caf

> src/util/virlog.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/src/util/virlog.c b/src/util/virlog.c
>index 7778724d58..73a2d6734f 100644
>--- a/src/util/virlog.c
>+++ b/src/util/virlog.c
>@@ -1315,7 +1315,7 @@ virLogFilterNew(const char *match,
>     ret->priority = priority;
>
>     /* We must treat 'foo' as equiv to '*foo*' for g_pattern_match
>-     * todo substring matches, so add 2 extra bytes
>+     * substring matches, so add 2 extra bytes
>      */
>     ret->match = g_new0(char, mlen + 3);
>     ret->match[0] = '*';

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano