Commit 939537a1 authored by Don Gagne's avatar Don Gagne

Fix list EOF handling

parent 61df2beb
...@@ -215,7 +215,7 @@ void FileManager::_listAckResponse(Request* listAck) ...@@ -215,7 +215,7 @@ void FileManager::_listAckResponse(Request* listAck)
cListEntries++; cListEntries++;
} }
if (listAck->hdr.size == 0) { if (listAck->hdr.size == 0 || cListEntries == 0) {
// Directory is empty, we're done // Directory is empty, we're done
Q_ASSERT(listAck->hdr.opcode == kRspAck); Q_ASSERT(listAck->hdr.opcode == kRspAck);
_currentOperation = kCOIdle; _currentOperation = kCOIdle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment