commit 91c31227cd18d5fca580fc4cb3cae08fe46ecf9e
Author: David Fifield <[email protected]>
Date:   Mon Jan 11 12:46:59 2016 -0800

    Fix format string in error message.
---
 meek-server/useraddr.go |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meek-server/useraddr.go b/meek-server/useraddr.go
index a01944b..7173f4c 100644
--- a/meek-server/useraddr.go
+++ b/meek-server/useraddr.go
@@ -44,7 +44,7 @@ func originalClientIP(req *http.Request) (net.IP, error) {
 
        ip := net.ParseIP(host)
        if ip == nil {
-               return nil, fmt.Errorf("cannot parse %q as IP address")
+               return nil, fmt.Errorf("cannot parse %q as IP address", host)
        }
        return ip, nil
 }



_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to