Docs: Added comment to prevent changes
This commit is contained in:
@@ -339,6 +339,8 @@ bool CmdSync::send (
|
|||||||
const Msg& request,
|
const Msg& request,
|
||||||
Msg& response)
|
Msg& response)
|
||||||
{
|
{
|
||||||
|
// It is important that the ':' be the *last* colon, in order to support
|
||||||
|
// IPv6 addresses.
|
||||||
std::string::size_type colon = to.rfind (':');
|
std::string::size_type colon = to.rfind (':');
|
||||||
if (colon == std::string::npos)
|
if (colon == std::string::npos)
|
||||||
throw format (STRING_CMD_SYNC_BAD_SERVER, to);
|
throw format (STRING_CMD_SYNC_BAD_SERVER, to);
|
||||||
|
|||||||
Reference in New Issue
Block a user