diff options
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, | |||
| 794 | const char *data, int length, uint32_t * bytes) | 794 | const char *data, int length, uint32_t * bytes) |
| 795 | { | 795 | { |
| 796 | char *acknowledgement = NULL; | 796 | char *acknowledgement = NULL; |
| 797 | const int MAXIMUM_WRITE_SIZE = 1 << 16; | 797 | const int MAXIMUM_WRITE_SIZE = 1 << 15; |
| 798 | uint32 zero = 0, bytes_loc = 0, segments = (length / MAXIMUM_WRITE_SIZE), current_count = 0, i = 0; | 798 | uint32 zero = 0, bytes_loc = 0, segments = (length / MAXIMUM_WRITE_SIZE), current_count = 0, i = 0; |
| 799 | char *out_buffer = NULL; | 799 | char *out_buffer = NULL; |
| 800 | 800 | ||
