summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-12-16 22:10:39 +0100
committerGravatar Martin Szulecki2011-04-11 19:42:19 +0200
commit1129d1deb4b49305fce121a20b0f5983110f4d62 (patch)
treea3a442ef35c05bdf44f34795f4e35e626505e094
parent044a5adfe085197530436f1873c66cf36ae906e6 (diff)
downloadlibimobiledevice-1129d1deb4b49305fce121a20b0f5983110f4d62.tar.gz
libimobiledevice-1129d1deb4b49305fce121a20b0f5983110f4d62.tar.bz2
idevicebackup4: If usec is set, the plist dates get malformed, thus do not pass it
-rw-r--r--tools/idevicebackup4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicebackup4.c b/tools/idevicebackup4.c
index cc9499b..1944a7a 100644
--- a/tools/idevicebackup4.c
+++ b/tools/idevicebackup4.c
@@ -287,7 +287,7 @@ static plist_t mobilebackup_factory_info_plist_new()
plist_dict_insert_item(ret, "IMEI", plist_copy(value_node));
g_get_current_time(&tv);
- plist_dict_insert_item(ret, "Last Backup Date", plist_new_date(tv.tv_sec, tv.tv_usec));
+ plist_dict_insert_item(ret, "Last Backup Date", plist_new_date(tv.tv_sec, 0));
value_node = plist_dict_get_item(root_node, "PhoneNumber");
if (value_node && (plist_get_node_type(value_node) == PLIST_STRING)) {