ostree: Fix bug printing out commit body

Body was printed out repeated and mangled due to bad printf format string.

https://bugzilla.gnome.org/show_bug.cgi?id=707067
This commit is contained in:
Stef Walter committed 2013-08-29 21:07:18 +02:00
1 parent 8fce2513e9
commit 1a708accf1
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ dump_indented_lines (const gchar *data)
pos = strchr (data, '\n');
if (pos)
{
g_print ("%s%*s", indent, (int)(pos + 1 - data), data);
g_print ("%s%.*s", indent, (int)(pos + 1 - data), data);
data = pos + 1;
}
else