libaccounts-glib/libaccounts-glib-1.8-gcc-4.8.patch

12 lines
566 B
Diff
Raw Permalink Normal View History

--- libaccounts-glib-1.8/libaccounts-glib/ag-service.c.orig 2013-04-10 15:00:38.715859036 +0200
+++ libaccounts-glib-1.8/libaccounts-glib/ag-service.c 2013-04-10 14:58:27.169209055 +0200
@@ -154,7 +154,7 @@
while (offset > 0)
{
if (strncmp (service->file_data + offset, element,
- sizeof (element)) == 0)
+ strlen (element)) == 0)
{
service->type_data_offset = offset;
break;