Fix outdated comment

This commit is contained in:
heinrich5991 2019-12-20 22:50:01 +01:00
parent 501f1061a9
commit e70fb8e43d

View file

@ -20,8 +20,8 @@ enum
class CRequest : public IJob
{
// Abort the request with an error if `BeforeInit()` or `AfterInit()`
// returns something nonzero. Also abort the request if `OnData()`
// returns something other than `DataSize`.
// returns false. Also abort the request if `OnData()` returns
// something other than `DataSize`.
virtual bool BeforeInit() { return true; }
virtual bool AfterInit(void *pCurl) { return true; }
virtual size_t OnData(char *pData, size_t DataSize) = 0;