Minor typo fix

This commit is contained in:
eidheim 2016-09-07 20:56:23 +02:00
commit 7120e8aff2
2 changed files with 2 additions and 2 deletions

View file

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

View file

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