Fixed integtests #4584

This commit is contained in:
Jerry (Xinyu Hou) 2015-06-05 15:23:44 -07:00
parent 756c3b4463
commit 5c71efebe6
2 changed files with 8 additions and 4 deletions

View File

@ -871,8 +871,10 @@ ServerProxy::fileChunkReceived()
m_events->addEvent(Event(m_events->forFile().fileRecieveCompleted(), m_client));
}
else if (result == kStart) {
String filename = m_client->getDragFileList().at(0).getFilename();
LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s.", filename.c_str()));
if (m_client->getDragFileList().size() > 0) {
String filename = m_client->getDragFileList().at(0).getFilename();
LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s.", filename.c_str()));
}
}
}

View File

@ -91,8 +91,10 @@ ClientProxy1_5::fileChunkReceived()
m_events->addEvent(Event(m_events->forFile().fileRecieveCompleted(), server));
}
else if (result == kStart) {
String filename = server->getFakeDragFileList().at(0).getFilename();
LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s.", filename.c_str()));
if (server->getFakeDragFileList().size() > 0) {
String filename = server->getFakeDragFileList().at(0).getFilename();
LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s.", filename.c_str()));
}
}
}