Skip to content

Commit e4fc3b1

Browse files
Change return type of areIdentical to bool
1 parent 601a100 commit e4fc3b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/HttpParser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct HttpRequest {
112112
didYield = yield;
113113
}
114114

115-
std::string_view areIdentical(std::string_view lowerCasedHeader) {
115+
bool areIdentical(std::string_view lowerCasedHeader) {
116116
for (Header *h = headers; (++h)->key.length(); ) {
117117
if (h->key.length() == lowerCasedHeader.length() && strncmp(h->key.data(), lowerCasedHeader.data(), lowerCasedHeader.length())) {
118118
return false;

0 commit comments

Comments
 (0)