diff --git a/HTTPServer.cpp b/HTTPServer.cpp
index a8434bef..3fdfcca5 100644
--- a/HTTPServer.cpp
+++ b/HTTPServer.cpp
@@ -351,14 +351,14 @@ namespace http {
s << "
" << info->RemoteIdent->ToBase32() << " | ";
s << "";
if(info->CurrentIBGW)
- s << info->CurrentIBGW->ToBase64();
+ s << info->CurrentIBGW->ToBase64().c_str();
else
s << "(none)";
s << " | ";
s << "";
if(info->CurrentOBEP)
- s << info->CurrentOBEP->ToBase64();
+ s << info->CurrentOBEP->ToBase64().c_str();
else
s << "(none)";
s << " | ";