diff options
Diffstat (limited to 'tools/idevicebackup2.c')
| -rw-r--r-- | tools/idevicebackup2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index 41591eb..b4ef94f 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c | |||
| @@ -1943,7 +1943,9 @@ checkpoint: | |||
| 1943 | freespace = (uint64_t)fs.f_bavail * (uint64_t)fs.f_bsize; | 1943 | freespace = (uint64_t)fs.f_bavail * (uint64_t)fs.f_bsize; |
| 1944 | } | 1944 | } |
| 1945 | #endif | 1945 | #endif |
| 1946 | mobilebackup2_send_status_response(mobilebackup2, res, NULL, plist_new_uint(freespace)); | 1946 | plist_t freespace_item = plist_new_uint(freespace); |
| 1947 | mobilebackup2_send_status_response(mobilebackup2, res, NULL, freespace_item); | ||
| 1948 | plist_free(freespace_item); | ||
| 1947 | } else if (!strcmp(dlmsg, "DLContentsOfDirectory")) { | 1949 | } else if (!strcmp(dlmsg, "DLContentsOfDirectory")) { |
| 1948 | /* list directory contents */ | 1950 | /* list directory contents */ |
| 1949 | mb2_handle_list_directory(mobilebackup2, message, backup_directory); | 1951 | mb2_handle_list_directory(mobilebackup2, message, backup_directory); |
