refactored uwsgi_get_app_id

This commit is contained in:
Unbit
2013-04-22 09:43:20 +02:00
parent ca071fa52f
commit 42d4ba09d7
8 changed files with 130 additions and 37 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ int init_uwsgi_app(int loader, void *arg1, struct wsgi_request *wsgi_req, PyThre
time_t now = uwsgi_now();
if (uwsgi_get_app_id(wsgi_req->appid, wsgi_req->appid_len, -1) != -1) {
if (uwsgi_get_app_id(NULL, wsgi_req->appid, wsgi_req->appid_len, -1) != -1) {
uwsgi_log( "mountpoint %.*s already configured. skip.\n", wsgi_req->appid_len, wsgi_req->appid);
return -1;
}