add null checks

This commit is contained in:
Jeff Becker 2016-09-03 16:43:02 -04:00
parent 82f46464f3
commit f0bc2a3645
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
3 changed files with 15 additions and 12 deletions

View file

@ -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>";