isimodem: Fix nettime parsing
authorAki Niemi <aki.niemi@nokia.com>
Fri, 31 Dec 2010 12:48:24 +0000 (14:48 +0200)
committerAki Niemi <aki.niemi@nokia.com>
Fri, 31 Dec 2010 12:54:19 +0000 (14:54 +0200)
drivers/isimodem/network-registration.c

index 395a04d..a9e6637 100644 (file)
@@ -690,7 +690,7 @@ static gboolean parse_nettime(GIsiSubBlockIter *iter,
        struct network_time *time;
        size_t len = sizeof(struct network_time);
 
-       if (!g_isi_sb_iter_get_struct(iter, (void **)&time, len, 0))
+       if (!g_isi_sb_iter_get_struct(iter, (void **) &time, len, 2))
                return FALSE;
 
        /* Value is years since last turn of century */