isimodem: Fix nettime parsing

This commit is contained in:
Aki Niemi 2010-12-31 14:48:24 +02:00
parent 9990c77237
commit 998a25eec8
1 changed files with 1 additions and 1 deletions

View 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 */