mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 00:59:08 +01:00
don't miss active tunnel
This commit is contained in:
parent
9557adf8c2
commit
b6a3f64ee9
2 changed files with 2 additions and 2 deletions
|
@ -278,7 +278,7 @@ namespace tunnel
|
||||||
tunnel = it;
|
tunnel = it;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
if (i >= ind) break;
|
if (i > ind && tunnel) break;
|
||||||
}
|
}
|
||||||
return tunnel;
|
return tunnel;
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,7 +102,7 @@ namespace tunnel
|
||||||
tunnel = it;
|
tunnel = it;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
if (i >= ind) break;
|
if (i > ind && tunnel) break;
|
||||||
}
|
}
|
||||||
return tunnel;
|
return tunnel;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue