diff --git a/plugins/python/uwsgi_pymodule.c b/plugins/python/uwsgi_pymodule.c index e1253ae6..be9e0412 100644 --- a/plugins/python/uwsgi_pymodule.c +++ b/plugins/python/uwsgi_pymodule.c @@ -433,7 +433,7 @@ PyObject *py_uwsgi_send_spool(PyObject * self, PyObject * args) { uint16_t keysize, valsize; char *cur_buf; int i; - char spool_filename[1024]; + //char spool_filename[1024]; spool_dict = PyTuple_GetItem(args, 0); if (!PyDict_Check(spool_dict)) { @@ -510,7 +510,7 @@ PyObject *py_uwsgi_send_spool(PyObject * self, PyObject * args) { } } - i = spool_request(spool_filename, uwsgi.workers[0].requests + 1, spool_buffer, cur_buf - spool_buffer); + //i = spool_request(spool_filename, uwsgi.workers[0].requests + 1, spool_buffer, cur_buf - spool_buffer); if (i > 0) { return Py_True; } diff --git a/uwsgi.h b/uwsgi.h index efa7747c..7c25d2f3 100644 --- a/uwsgi.h +++ b/uwsgi.h @@ -922,8 +922,8 @@ void snmp_init(void); #ifdef UWSGI_SPOOLER int spool_request(char *, int, char *, int); -void spooler(); -pid_t spooler_start(); +void spooler(void); +pid_t spooler_start(void); #endif void set_harakiri(int); @@ -1061,7 +1061,7 @@ int uwsgi_load_plugin(int, char *, char *, int); void embed_plugins(void); -void http_loop(); +void http_loop(void); int unconfigured_hook(struct wsgi_request *);