Minor typo fix
This commit is contained in:
parent
4efd3bf83c
commit
7120e8aff2
2 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ int main() {
|
||||||
default_resource_send(server, response, ifs, buffer);
|
default_resource_send(server, response, ifs, buffer);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
throw invalid_argument("coult not read file");
|
throw invalid_argument("could not read file");
|
||||||
}
|
}
|
||||||
catch(const exception &e) {
|
catch(const exception &e) {
|
||||||
string content="Could not open path "+request->path+": "+e.what();
|
string content="Could not open path "+request->path+": "+e.what();
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ int main() {
|
||||||
default_resource_send(server, response, ifs, buffer);
|
default_resource_send(server, response, ifs, buffer);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
throw invalid_argument("coult not read file");
|
throw invalid_argument("could not read file");
|
||||||
}
|
}
|
||||||
catch(const exception &e) {
|
catch(const exception &e) {
|
||||||
string content="Could not open path "+request->path+": "+e.what();
|
string content="Could not open path "+request->path+": "+e.what();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue