summaryrefslogtreecommitdiffstats
path: root/src/mobilesync.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-03 17:02:43 +0200
committerGravatar Martin Szulecki2014-10-03 17:02:43 +0200
commit3f5fd6fee9a1e2359c73e911cbf0677507852bdd (patch)
tree6e19f088dae4251cc163839f05229c6816f44040 /src/mobilesync.c
parent820137e5f50f544900032532b0abb829b282f7ef (diff)
downloadlibimobiledevice-3f5fd6fee9a1e2359c73e911cbf0677507852bdd.tar.gz
libimobiledevice-3f5fd6fee9a1e2359c73e911cbf0677507852bdd.tar.bz2
mobilesync: Fix crash in mobilesync_recive_changes() due to typo
Diffstat (limited to 'src/mobilesync.c')
-rw-r--r--src/mobilesync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mobilesync.c b/src/mobilesync.c
index 6138762..b07d536 100644
--- a/src/mobilesync.c
+++ b/src/mobilesync.c
@@ -397,7 +397,7 @@ LIBIMOBILEDEVICE_API mobilesync_error_t mobilesync_receive_changes(mobilesync_cl
if (actions != NULL) {
actions_node = plist_array_get_item(msg, 4);
- if (plist_get_node_type(actions) == PLIST_DICT)
+ if (plist_get_node_type(actions_node) == PLIST_DICT)
*actions = plist_copy(actions_node);
else
*actions = NULL;