[gnome-software/667-show-changelogs-for-rpm-ostree-updates] Apply 1 suggestion(s) to 1 file(s)
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/667-show-changelogs-for-rpm-ostree-updates] Apply 1 suggestion(s) to 1 file(s)
- Date: Thu, 20 Oct 2022 16:22:26 +0000 (UTC)
commit e720636092945cf237687809016de4feaacb026a
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Oct 20 16:22:25 2022 +0000
Apply 1 suggestion(s) to 1 file(s)
plugins/rpm-ostree/gs-plugin-rpm-ostree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
index 5d9377c6c..e7f184b7c 100644
--- a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
+++ b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
@@ -2878,7 +2878,7 @@ sanitize_update_history_text (gchar *text)
} G_STMT_END
/* The first two lines begin with "ostree diff commit from/to:" - skip them. */
- if (g_ascii_strncasecmp (read_pos, "ostree diff", 11) == 0)
+ if (g_ascii_strncasecmp (read_pos, "ostree diff", strlen ("ostree diff")) == 0)
skip_after ('\n');
if (g_ascii_strncasecmp (read_pos, "ostree diff", 11) == 0)
skip_after ('\n');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]