You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by jg...@apache.org on 2006/11/05 18:50:31 UTC

svn commit: r471474 - in /httpd/mod_python/trunk/src: connobject.c include/connobject.h

Author: jgallacher
Date: Sun Nov  5 09:50:30 2006
New Revision: 471474

URL: http://svn.apache.org/viewvc?view=rev&rev=471474
Log:
Remove superfluous connobject server attribute.

Modified:
    httpd/mod_python/trunk/src/connobject.c
    httpd/mod_python/trunk/src/include/connobject.h

Modified: httpd/mod_python/trunk/src/connobject.c
URL: http://svn.apache.org/viewvc/httpd/mod_python/trunk/src/connobject.c?view=diff&rev=471474&r1=471473&r2=471474
==============================================================================
--- httpd/mod_python/trunk/src/connobject.c (original)
+++ httpd/mod_python/trunk/src/connobject.c Sun Nov  5 09:50:30 2006
@@ -46,7 +46,6 @@
         return PyErr_NoMemory();
 
     result->conn = c;
-    result->server = NULL;
     result->base_server = NULL;
     result->notes = MpTable_FromTable(c->notes);
     result->hlo = NULL;
@@ -314,7 +313,6 @@
 
 static void conn_dealloc(connobject *self)
 {  
-    Py_XDECREF(self->server);
     Py_XDECREF(self->base_server);
     Py_XDECREF(self->notes);
     Py_XDECREF(self->hlo);

Modified: httpd/mod_python/trunk/src/include/connobject.h
URL: http://svn.apache.org/viewvc/httpd/mod_python/trunk/src/include/connobject.h?view=diff&rev=471474&r1=471473&r2=471474
==============================================================================
--- httpd/mod_python/trunk/src/include/connobject.h (original)
+++ httpd/mod_python/trunk/src/include/connobject.h Sun Nov  5 09:50:30 2006
@@ -41,7 +41,6 @@
     typedef struct connobject {
         PyObject_HEAD
         conn_rec     *conn;
-        PyObject     *server;
         PyObject     *base_server;
         PyObject     *notes;
         hlistobject  *hlo;