diff options
Diffstat (limited to 'src/screenshotr.c')
| -rw-r--r-- | src/screenshotr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screenshotr.c b/src/screenshotr.c index 5367450..a1b5759 100644 --- a/src/screenshotr.c +++ b/src/screenshotr.c | |||
| @@ -162,7 +162,7 @@ screenshotr_error_t screenshotr_take_screenshot(screenshotr_client_t client, cha | |||
| 162 | screenshotr_error_t res = SCREENSHOTR_E_UNKNOWN_ERROR; | 162 | screenshotr_error_t res = SCREENSHOTR_E_UNKNOWN_ERROR; |
| 163 | 163 | ||
| 164 | plist_t dict = plist_new_dict(); | 164 | plist_t dict = plist_new_dict(); |
| 165 | plist_dict_insert_item(dict, "MessageType", plist_new_string("ScreenShotRequest")); | 165 | plist_dict_set_item(dict, "MessageType", plist_new_string("ScreenShotRequest")); |
| 166 | 166 | ||
| 167 | res = screenshotr_error(device_link_service_send_process_message(client->parent, dict)); | 167 | res = screenshotr_error(device_link_service_send_process_message(client->parent, dict)); |
| 168 | plist_free(dict); | 168 | plist_free(dict); |
