mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
add null checks
This commit is contained in:
parent
82f46464f3
commit
f0bc2a3645
3 changed files with 15 additions and 12 deletions
|
@ -352,14 +352,14 @@ namespace http {
|
|||
s << "<td>" << info.RemoteIdent.ToBase32() << "</td>";
|
||||
s << "<td>";
|
||||
if(info.CurrentIBGW)
|
||||
s << info.CurrentIBGW->ToBase64();
|
||||
s << info.CurrentIBGW->ToBase64().c_str();
|
||||
else
|
||||
s << "(none)";
|
||||
s << "</td>";
|
||||
|
||||
s << "<td>";
|
||||
if(info.CurrentOBEP)
|
||||
s << info.CurrentOBEP->ToBase64();
|
||||
s << info.CurrentOBEP->ToBase64().c_str();
|
||||
else
|
||||
s << "(none)";
|
||||
s << "</td>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue