Typos fixed (#474)

This commit is contained in:
Saika Fatih 2020-05-12 20:18:58 +03:00 committed by GitHub
parent ba685dbe48
commit 803ebe1e20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>;