diff --git a/uwsgi.c b/uwsgi.c index 16477886..0eaf8267 100644 --- a/uwsgi.c +++ b/uwsgi.c @@ -2862,7 +2862,7 @@ skipzero: int rm_dst = atoi(colon + 1); up_tmp = uwsgi.p[rm_dst]; uwsgi.p[rm_dst]->request = uwsgi.p[rm_src]->request; - uwsgi.p[rm_src]->after_request = up_tmp->after_request; + uwsgi.p[rm_dst]->after_request = uwsgi.p[rm_src]->after_request; } map = strtok(NULL, ","); }