Import mode port-saver fix.

This commit is contained in:
cora32 2015-04-19 16:36:51 +03:00
parent eb0f9eef10
commit 8f16fd8d16
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ void _LoadPersInfoToLocalVars(int savedTabIndex) {
gMode = -1;
gThreads = ui->importThreads->text().toInt();
strncpy(gPorts, ("-p" + ui->importPortLine->text()).toLocal8Bit().data(), 65536);
gPorts[ui->dnsPortLine->text().length() + 2] = '\0';
gPorts[ui->importPortLine->text().length() + 2] = '\0';
};
strcpy(trcSrv, ui->lineTrackerSrv->text().toLocal8Bit().data());

View File

@ -1 +1 @@
24B93-D0
24B93-664