summaryrefslogtreecommitdiffstats
path: root/mtp/mtp_MtpServer.cpp
diff options
context:
space:
mode:
authorbigbiff <bigbiff@teamw.in>2014-11-27 02:36:07 +0100
committerDees Troy <dees_troy@teamw.in>2014-12-04 17:32:27 +0100
commit7cb4c3322b3a282e63e77b0d2205fd2e51b8b932 (patch)
tree7ff7761604c2f6d82b444a66205126f8d81856e5 /mtp/mtp_MtpServer.cpp
parentReduce libs needed for decrypt and clean up old decypt files (diff)
downloadandroid_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar.gz
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar.bz2
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar.lz
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar.xz
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.tar.zst
android_bootable_recovery-7cb4c3322b3a282e63e77b0d2205fd2e51b8b932.zip
Diffstat (limited to 'mtp/mtp_MtpServer.cpp')
-rwxr-xr-xmtp/mtp_MtpServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtp/mtp_MtpServer.cpp b/mtp/mtp_MtpServer.cpp
index 9df564ffc..17facdd70 100755
--- a/mtp/mtp_MtpServer.cpp
+++ b/mtp/mtp_MtpServer.cpp
@@ -123,7 +123,7 @@ void twmtp_MtpServer::add_storage()
int storageID = stores->at(i)->mtpid;
long reserveSpace = 1;
bool removable = false;
- long maxFileSize = 1000000000L;
+ long maxFileSize = stores->at(i)->maxFileSize;
if (descriptionStr != "") {
MtpStorage* storage = new MtpStorage(storageID, &pathStr[0], &descriptionStr[0], reserveSpace, removable, maxFileSize, refserver);
server->addStorage(storage);