diff --git a/src/mhd2/mhd_cntnr_ptr.h b/src/mhd2/mhd_cntnr_ptr.h index 2654ff34..a3e7db5e 100644 --- a/src/mhd2/mhd_cntnr_ptr.h +++ b/src/mhd2/mhd_cntnr_ptr.h @@ -20,7 +20,7 @@ /** * @file src/mhd2/mhd_cntnr_ptr.h - * @brief The definition of mhd_cntnr_ptr() macro. + * @brief The definition of mhd_CNTNR_PTR() macro. * @author Karlson2k (Evgeny Grin) */ @@ -45,7 +45,7 @@ * @param membr_name the name of the member pointed by @a membr_ptr * @return the pointer to the outer structure */ -#define mhd_cntnr_ptr(membr_ptr,cntnr_type,membr_name) \ +#define mhd_CNTNR_PTR(membr_ptr,cntnr_type,membr_name) \ ((cntnr_type*) (void*) \ (((char*) (0 ? \ (&(((cntnr_type*) NULL)->membr_name)) : \ diff --git a/src/mhd2/upgrade_prep.c b/src/mhd2/upgrade_prep.c index 19738f60..e6c79910 100644 --- a/src/mhd2/upgrade_prep.c +++ b/src/mhd2/upgrade_prep.c @@ -420,7 +420,7 @@ mhd_upgrade_prep_for_action (struct MHD_Request *restrict req, bool is_upload_act) { struct MHD_Connection *const c = - mhd_cntnr_ptr (req, struct MHD_Connection, rq); + mhd_CNTNR_PTR (req, struct MHD_Connection, rq); mhd_assert (mhd_HTTP_STAGE_HEADERS_PROCESSED <= c->stage); mhd_assert (mhd_HTTP_STAGE_FULL_REQ_RECEIVED >= c->stage);