mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Typos fixed (#474)
This commit is contained in:
parent
ba685dbe48
commit
803ebe1e20
1 changed files with 4 additions and 4 deletions
|
@ -241,18 +241,18 @@ public:
|
|||
using MultipartReader = std::function<bool(MultipartContentHeader header,
|
||||
ContentReceiver receiver)>;
|
||||
|
||||
ContentReader(Reader reader, MultipartReader muitlpart_reader)
|
||||
: reader_(reader), muitlpart_reader_(muitlpart_reader) {}
|
||||
ContentReader(Reader reader, MultipartReader multipart_reader)
|
||||
: reader_(reader), multipart_reader_(multipart_reader) {}
|
||||
|
||||
bool operator()(MultipartContentHeader header,
|
||||
ContentReceiver receiver) const {
|
||||
return muitlpart_reader_(header, receiver);
|
||||
return multipart_reader_(header, receiver);
|
||||
}
|
||||
|
||||
bool operator()(ContentReceiver receiver) const { return reader_(receiver); }
|
||||
|
||||
Reader reader_;
|
||||
MultipartReader muitlpart_reader_;
|
||||
MultipartReader multipart_reader_;
|
||||
};
|
||||
|
||||
using Range = std::pair<ssize_t, ssize_t>;
|
||||
|
|
Loading…
Reference in a new issue