projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9990c77
)
isimodem: Fix nettime parsing
author
Aki Niemi
<aki.niemi@nokia.com>
Fri, 31 Dec 2010 12:48:24 +0000
(14:48 +0200)
committer
Aki Niemi
<aki.niemi@nokia.com>
Fri, 31 Dec 2010 12:54:19 +0000
(14:54 +0200)
drivers/isimodem/network-registration.c
patch
|
blob
|
history
diff --git
a/drivers/isimodem/network-registration.c
b/drivers/isimodem/network-registration.c
index
395a04d
..
a9e6637
100644
(file)
--- a/
drivers/isimodem/network-registration.c
+++ b/
drivers/isimodem/network-registration.c
@@
-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 */