a5566baa03
std::atoi() assumes a null-terminated string and our strings are not always null-terminated. So add a version that takes a length parameter, this way we don't have to copy strings around. Also switch to this in http::StatusLine::parse(). Signed-off-by: Miklos Vajna <vmiklos@collabora.com> Change-Id: I449b356c1b9948c562434618596e8e3b38656088 |
||
---|---|---|
.. | ||
Authorization.cpp | ||
Authorization.hpp | ||
Clipboard.hpp | ||
Common.hpp | ||
ConfigUtil.cpp | ||
ConfigUtil.hpp | ||
Crypto.cpp | ||
Crypto.hpp | ||
FileUtil.cpp | ||
FileUtil.hpp | ||
JailUtil.cpp | ||
JailUtil.hpp | ||
JsonUtil.hpp | ||
Log.cpp | ||
Log.hpp | ||
LOOLWebSocket.hpp | ||
Message.hpp | ||
MessageQueue.cpp | ||
MessageQueue.hpp | ||
MobileApp.cpp | ||
MobileApp.hpp | ||
Png.hpp | ||
Protocol.cpp | ||
Protocol.hpp | ||
Rectangle.hpp | ||
RenderTiles.hpp | ||
Seccomp.cpp | ||
Seccomp.hpp | ||
security.h | ||
Session.cpp | ||
Session.hpp | ||
SigUtil.cpp | ||
SigUtil.hpp | ||
SpookyV2.cpp | ||
SpookyV2.h | ||
StringVector.cpp | ||
StringVector.hpp | ||
Unit.cpp | ||
Unit.hpp | ||
UnitHTTP.hpp | ||
Util.cpp | ||
Util.hpp |