return nullptr improved
This commit is contained in:
1 parent
ed7510f7be
commit
6632cb4d9a
1 file changed
+1
-1
@@ -93,7 +93,7 @@ string HttpHeader::getField(string index) {
|
||||
if (i != fields.end()) {
|
||||
return fields.at(index);
|
||||
} else {
|
||||
return nullptr;
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user