X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_message_object.c;h=b187f559c02f199d4bff19c1b970de10415575c4;hp=99b63547562ac06e742597b8e01da289c86d3a6b;hb=36fa8b05be7aaf8e7f9e503c3e82733022500c03;hpb=ff17beb99d61462cf1791eecdb3f68dbd2aea5e5 diff --git a/http_message_object.c b/http_message_object.c index 99b6354..b187f55 100644 --- a/http_message_object.c +++ b/http_message_object.c @@ -190,9 +190,9 @@ static inline void _http_message_object_declare_default_properties(TSRMLS_D) zend_class_entry *ce = http_message_object_ce; #ifndef WONKY - DCL_CONST(long, "NONE", HTTP_MSG_NONE); - DCL_CONST(long, "REQUEST", HTTP_MSG_REQUEST); - DCL_CONST(long, "RESPONSE", HTTP_MSG_RESPONSE); + DCL_CONST(long, "TYPE_NONE", HTTP_MSG_NONE); + DCL_CONST(long, "TYPE_REQUEST", HTTP_MSG_REQUEST); + DCL_CONST(long, "TYPE_RESPONSE", HTTP_MSG_RESPONSE); #endif DCL_PROP(PROTECTED, long, type, HTTP_MSG_NONE);