Support yet another old version of http-parser for CentOS/EPEL.
This commit is contained in:
parent
cafa41ba4d
commit
536feb632c
3 changed files with 28 additions and 2 deletions
|
@ -252,7 +252,7 @@ public:
|
|||
#if defined(_WIN32) || defined(_WIN64)
|
||||
::send(_whackSendSocket,(const char *)this,1,0);
|
||||
#else
|
||||
(void)::write(_whackSendSocket,(PhySocket *)this,1);
|
||||
(void)(::write(_whackSendSocket,(PhySocket *)this,1));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -871,7 +871,7 @@ public:
|
|||
#if defined(_WIN32) || defined(_WIN64)
|
||||
::recv(_whackReceiveSocket,tmp,16,0);
|
||||
#else
|
||||
(void)::read(_whackReceiveSocket,tmp,16);
|
||||
(void)(::read(_whackReceiveSocket,tmp,16));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue