From 90ed5e330ec11d8d493e1ee07dfd5303bea69312 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 0f38ca4b40331..31667d2a21a89 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)