diff options
author | Dan Williams <dcbw@redhat.com> | 2011-11-14 17:38:02 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-11-14 17:38:02 -0600 |
commit | 262f0f5e81ae5b346090102acecf642ed0ee09f9 (patch) | |
tree | b7e2dd7a46f615ceb678fe8e032b7992360294b5 /libwmc/src/commands.c | |
parent | add6131edfb4271748b5991f0ce6f447fef88f6d (diff) |
wmc: fix build after fixup of WMC field names
Diffstat (limited to 'libwmc/src/commands.c')
-rw-r--r-- | libwmc/src/commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libwmc/src/commands.c b/libwmc/src/commands.c index 0128a8a9..bae19ffd 100644 --- a/libwmc/src/commands.c +++ b/libwmc/src/commands.c @@ -177,9 +177,9 @@ wmc_cmd_device_info_result (const char *buf, gsize buflen) /* IMSI */ memset (tmp, 0, sizeof (tmp)); - g_assert (sizeof (rsp2->imsi) <= sizeof (tmp)); - memcpy (tmp, rsp2->imsi, sizeof (rsp2->imsi)); - wmc_result_add_string (r, WMC_CMD_DEVICE_INFO_ITEM_IMSI, tmp); + g_assert (sizeof (rsp2->iccid) <= sizeof (tmp)); + memcpy (tmp, rsp2->iccid, sizeof (rsp2->iccid)); + wmc_result_add_string (r, WMC_CMD_DEVICE_INFO_ITEM_ICCID, tmp); /* MCC */ memset (tmp, 0, sizeof (tmp)); |