mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-11 19:10:55 +00:00
don't miss active tunnel
This commit is contained in:
parent
9557adf8c2
commit
b6a3f64ee9
@ -278,7 +278,7 @@ namespace tunnel
|
||||
tunnel = it;
|
||||
i++;
|
||||
}
|
||||
if (i >= ind) break;
|
||||
if (i > ind && tunnel) break;
|
||||
}
|
||||
return tunnel;
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ namespace tunnel
|
||||
tunnel = it;
|
||||
i++;
|
||||
}
|
||||
if (i >= ind) break;
|
||||
if (i > ind && tunnel) break;
|
||||
}
|
||||
return tunnel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user