Fixed unit tests building broken by the previous commit.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user