Apache Mod-Python - duplicate method in request_methods

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > February 2006 > duplicate method in request_methods





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author duplicate method in request_methods
Jim Gallacher

2006-02-19, 8:21 am

I just noticed that "write" is declared twice in request_methods[] .
What's up with that??

src/requestobject.c
--------------------

static PyMethodDef request_methods[] = {
....
.... line 1075
{"write", (PyCFunction) req_write, METH_VARARGS},

....
.... line 1087
{"write", (PyCFunction) req_write, METH_VARARGS},
....


Jim

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com