diff options
author | Jonathan Beck | 2008-10-31 18:52:28 +0100 |
---|---|---|
committer | Jonathan Beck | 2008-10-31 18:54:04 +0100 |
commit | 1eec0b50f81d225bdf62c039c413d5adc5648e77 (patch) | |
tree | 50bb71d47c20a8dfb2a4c7980a782e6e22dbc441 /src | |
parent | 217f4ea74d3aca718bb2e4e9600f11aa212df8e2 (diff) | |
download | libimobiledevice-1eec0b50f81d225bdf62c039c413d5adc5648e77.tar.gz libimobiledevice-1eec0b50f81d225bdf62c039c413d5adc5648e77.tar.bz2 |
reduce chunk size in AFC since it was generating error for large file
fix include in afccheck.c
Diffstat (limited to 'src')
-rw-r--r-- | src/AFC.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -794,7 +794,7 @@ iphone_afc_write_file(iphone_afc_client_t client, iphone_afc_file_t file, const char *data, int length, uint32_t * bytes) { char *acknowledgement = NULL; - const int MAXIMUM_WRITE_SIZE = 1 << 16; + const int MAXIMUM_WRITE_SIZE = 1 << 15; uint32 zero = 0, bytes_loc = 0, segments = (length / MAXIMUM_WRITE_SIZE), current_count = 0, i = 0; char *out_buffer = NULL; |