mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Docs: Added comment to prevent changes
This commit is contained in:
parent
ec9b8c5aa9
commit
b6b49ca7e4
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue