Use method full name.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-05-15 19:45:39 +02:00
parent 3cc347f25f
commit 5d9b73ba4e
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ struct SyhttpHeader {
#define HTTP_METHOD_HEAD 2 /* HEAD */
#define HTTP_METHOD_POST 3 /* POST */
#define HTTP_METHOD_PUT 4 /* PUT */
#define HTTP_METHOD_OTHR 5 /* Other HTTP methods [i.e: DELETE,TRACE,OPTIONS...]*/
#define HTTP_METHOD_OTHER 5 /* Other HTTP methods [i.e: DELETE,TRACE,OPTIONS...]*/
/*
* Supported HTTP protocol version.
*/
@ -10649,7 +10649,7 @@ static sxi32 VmHttpProcessFirstLine(
while(zIn < zEnd && !SyisSpace(zIn[0])) {
zIn++;
}
*pMethod = HTTP_METHOD_OTHR;
*pMethod = HTTP_METHOD_OTHER;
if(zIn > zPtr) {
sxu32 i;
nLen = (sxu32)(zIn - zPtr);