Fixed unit tests building broken by the previous commit.

This commit is contained in:
Igor Sysoev
2017-03-14 15:09:17 +03:00
parent 6f2c9acd18
commit 612c083579
6 changed files with 28 additions and 18 deletions

View File

@@ -62,7 +62,7 @@ static nxt_int_t nxt_app_http_process_headers(nxt_app_request_t *r);
static const nxt_event_conn_state_t nxt_app_delivery_write_state;
static nxt_application_module_t *nxt_app = &nxt_python_module;
nxt_application_module_t *nxt_app;
static nxt_thread_mutex_t nxt_app_mutex;
static nxt_thread_cond_t nxt_app_cond;

View File

@@ -50,7 +50,8 @@ typedef struct {
} nxt_application_module_t;
extern nxt_application_module_t nxt_python_module;
extern nxt_application_module_t *nxt_app;
nxt_int_t nxt_app_http_read_body(nxt_app_request_t *r, u_char *data,

View File

@@ -242,6 +242,8 @@ nxt_python_wsgi_init(nxt_thread_t *thr, nxt_runtime_t *rt)
Py_DECREF(obj);
nxt_app = &nxt_python_module;
return NXT_OK;
fail: