mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Renamed macro mhd_cntnr_ptr -> macro mhd_CNTNR_PTR
This commit is contained in:
@@ -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)) : \
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user