Commit cbe27510 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Added a qDebug with an error message in UploadJob

parent 060addb8
......@@ -19,6 +19,7 @@
*/
#include <qalgorithms.h>
#include <QDebug>
#include "uploadjob.h"
......@@ -35,6 +36,7 @@ void UploadJob::start()
while(!mServer->listen(QHostAddress::Any, mPort)) {
mPort++;
if (mPort > 1764) { //No ports available?
qDebug() << "Error opening a port in range 1739-1764 for file transfer";
mPort = 0;
return;
}
......
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