Fix else if and maxFileSize initializer.

Change-Id: Iac7852a4fb2add5744d5ea424d6ad5a82828f102
This commit is contained in:
bigbiff
2014-12-21 13:41:26 -05:00
committed by Dees Troy
parent a3d31fbe38
commit 0c53203efe
4 changed files with 15 additions and 15 deletions
+1
View File
@@ -1001,6 +1001,7 @@ MtpResponseCode MtpServer::doSendObjectInfo() {
return MTP_RESPONSE_STORAGE_FULL;
uint64_t maxFileSize = storage->getMaxFileSize();
// check storage max file size
MTPD("maxFileSize: %ld\n", maxFileSize);
if (maxFileSize != 0) {
// if mSendObjectFileSize is 0xFFFFFFFF, then all we know is the file size
// is >= 0xFFFFFFFF