Signed-off-by: Brian Foley <[email protected]>
---
 lib/http/client.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/http/client.py b/lib/http/client.py
index 86a9db8..11c8049 100644
--- a/lib/http/client.py
+++ b/lib/http/client.py
@@ -228,8 +228,8 @@ class _PendingRequest(object):
     try:
         # LOCAL_* options added in pycurl 7.21.5
         from_str = "from %s:%s " % (
-            curl.getinfo(pycurl.LOCAL_IP),
-            curl.getinfo(pycurl.LOCAL_PORT)
+            req.getinfo(pycurl.LOCAL_IP),
+            req.getinfo(pycurl.LOCAL_PORT)
         )
     except AttributeError:
         from_str = ""
-- 
2.8.0.rc3.226.g39d4020

Reply via email to