summaryrefslogtreecommitdiffstats
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/ideviceheartbeat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/ideviceheartbeat.c b/dev/ideviceheartbeat.c
index d108766..fe2cdf3 100644
--- a/dev/ideviceheartbeat.c
+++ b/dev/ideviceheartbeat.c
@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
/* answer with a "pong" message */
message = plist_new_dict();
- plist_dict_insert_item(message, "Command", plist_new_string("Polo"));
+ plist_dict_set_item(message, "Command", plist_new_string("Polo"));
heartbeat_send(heartbeat, message);
printf("< polo\n");