- ptr = erealloc(ptr, sizeof(http_request_method_entry *) * (G->request.methods.custom.count + 1));
- G->request.methods.custom.entries = ptr;
- ptr[G->request.methods.custom.count] = emalloc(sizeof(http_request_method_entry));
- ptr[G->request.methods.custom.count]->name = method;
- ptr[G->request.methods.custom.count]->cnst = mconst;
- meth_num = HTTP_CUSTOM_REQUEST_METHOD_START + G->request.methods.custom.count++;
+ ptr = erealloc(ptr, sizeof(http_request_method_entry *) * (HTTP_G->request.methods.custom.count + 1));
+ HTTP_G->request.methods.custom.entries = ptr;
+ ptr[HTTP_G->request.methods.custom.count] = emalloc(sizeof(http_request_method_entry));
+ ptr[HTTP_G->request.methods.custom.count]->name = method;
+ ptr[HTTP_G->request.methods.custom.count]->cnst = mconst;
+ meth_num = HTTP_CUSTOM_REQUEST_METHOD_START + HTTP_G->request.methods.custom.count++;