mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Fix wrong reference use
This commit is contained in:
@@ -1684,7 +1684,7 @@ void QBtSession::setAppendqBExtension(bool append) {
|
|||||||
// session will listen to
|
// session will listen to
|
||||||
void QBtSession::setListeningPort(int port) {
|
void QBtSession::setListeningPort(int port) {
|
||||||
std::pair<int,int> ports(port, port);
|
std::pair<int,int> ports(port, port);
|
||||||
const QString& iface_name = Preferences().getNetworkInterface();
|
const QString iface_name = Preferences().getNetworkInterface();
|
||||||
if(iface_name.isEmpty()) {
|
if(iface_name.isEmpty()) {
|
||||||
s->listen_on(ports);
|
s->listen_on(ports);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user