diff options
author | Nikias Bassen | 2014-03-14 09:59:13 +0100 |
---|---|---|
committer | Nikias Bassen | 2014-03-14 09:59:13 +0100 |
commit | 00ab62a8ea9518b73f1ad98fbbf504b9d54d920c (patch) | |
tree | 172b1c4fc476cfffb11640bf6378fd700497cf82 /src/ideviceinstaller.c | |
parent | 6f96daa17a9fdb41b48f5963f966809329cbecd9 (diff) | |
download | ideviceinstaller-00ab62a8ea9518b73f1ad98fbbf504b9d54d920c.tar.gz ideviceinstaller-00ab62a8ea9518b73f1ad98fbbf504b9d54d920c.tar.bz2 |
increase buffer size for faster file uploads
Diffstat (limited to 'src/ideviceinstaller.c')
-rw-r--r-- | src/ideviceinstaller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index 4fa7d63..81ce145 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -470,7 +470,7 @@ static int afc_upload_file(afc_client_t afc, const char* filename, const char* d { FILE *f = NULL; uint64_t af = 0; - char buf[8192]; + char buf[1048576]; f = fopen(filename, "rb"); if (!f) { |