From 4770ca2f7451641f6b0b78bb4b8fe347a78355df Mon Sep 17 00:00:00 2001 From: Alex Arslan Date: Wed, 25 Jan 2017 13:42:57 -0500 Subject: [PATCH] Reword the ipv4_leading_zero_error for clarity --- base/socket.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/socket.jl b/base/socket.jl index 1ae6205b7c7b7e..b4598efca6d815 100644 --- a/base/socket.jl +++ b/base/socket.jl @@ -150,7 +150,7 @@ end const ipv4_leading_zero_error = """ Leading zeros in IPv4 addresses are disallowed due to ambiguity. -If octal or hexadecimal, convert to decimal, otherwise remove leading zero. +If the address is in octal or hexadecimal, convert it to decimal, otherwise remove the leading zero. """ function parse(::Type{IPv4}, str::AbstractString)