From 9296809662e2996a69587c47710b975feab5607f Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 30 Sep 2024 02:01:11 +0200 Subject: [PATCH] upgrade_proc: fixed assert --- src/mhd2/upgrade_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mhd2/upgrade_proc.c b/src/mhd2/upgrade_proc.c index e8541176..3cd60b6b 100644 --- a/src/mhd2/upgrade_proc.c +++ b/src/mhd2/upgrade_proc.c @@ -73,7 +73,7 @@ mhd_upgrade_finish_switch_to_upgraded (struct MHD_Connection *restrict c) mhd_assert (MHD_CONNECTION_UPGRADING == c->state); mhd_assert (NULL != c->write_buffer); mhd_assert ((0 != c->read_buffer_offset) || (NULL == c->read_buffer)); - mhd_assert (c == c->upgr.c); + mhd_assert (NULL == c->upgr.c); pupgr_data = (mhd_ACTION_UPGRADE == c->rq.app_act.head_act.act) ? &(c->rq.app_act.head_act.data.upgrd) :