quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terrel Shumway <tshum...@jdiworks.net>
Subject two-line fix for long-time cut&paste error
Date Mon, 05 Jul 2004 06:57:48 GMT

I guess I'm the only one who ever uses req.connection.local_ip

Dream BIG!
-- Terrel


--------------------------------------------------------------------------
--- connobject.c.orig   2004-07-05 03:00:48.000000000 -0500
+++ connobject.c        2004-07-05 02:57:11.000000000 -0500
@@ -258,8 +258,8 @@
     {"keepalive",          T_INT,       0,                       RO},
     {"double_reverse",     T_INT,       0,                       RO},
     {"keepalives",         T_INT,       OFF(keepalives),         RO},
-    {"local_ip",           T_STRING,    OFF(remote_ip),          RO},
-    {"local_host",         T_STRING,    OFF(remote_host),        RO},
+    {"local_ip",           T_STRING,    OFF(local_ip),           RO},
+    {"local_host",         T_STRING,    OFF(local_host),         RO},
     {"id",                 T_LONG,      OFF(id),                 RO},
     /* XXX conn_config? */
     {"notes",              T_OBJECT,    0,                       RO},
--------------------------------------------------------------------------

Mime
View raw message