Docs: Added comment to prevent changes

This commit is contained in:
Paul Beckingham 2015-05-03 10:54:52 -04:00
parent ec9b8c5aa9
commit b6b49ca7e4

View file

@ -339,6 +339,8 @@ bool CmdSync::send (
const Msg& request,
Msg& response)
{
// It is important that the ':' be the *last* colon, in order to support
// IPv6 addresses.
std::string::size_type colon = to.rfind (':');
if (colon == std::string::npos)
throw format (STRING_CMD_SYNC_BAD_SERVER, to);