mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 14:37:44 +00:00
api now links successfully
This commit is contained in:
parent
fced452f88
commit
4da3e375ff
1 changed files with 3 additions and 3 deletions
|
@ -275,7 +275,7 @@ namespace SimpleWeb {
|
|||
}
|
||||
catch( const std::exception & ) {
|
||||
if(on_error)
|
||||
on_error( request, std::error_code( std::errc::protocol_error, std::generic_category() ) );
|
||||
on_error( request, std::make_error_code( std::errc::protocol_error ) );
|
||||
return;
|
||||
}
|
||||
if(content_length>num_additional_bytes) {
|
||||
|
@ -390,7 +390,7 @@ namespace SimpleWeb {
|
|||
}
|
||||
catch( const std::exception & ){
|
||||
if(on_error)
|
||||
on_error( request, std::error_code( std::errc::protocol_error, std::generic_category() ) );
|
||||
on_error( request, std::make_error_code( std::errc::protocol_error ) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -412,7 +412,7 @@ namespace SimpleWeb {
|
|||
}
|
||||
catch( const std::exception & ) {
|
||||
if(on_error)
|
||||
on_error( request, std::error_code( std::errc::protocol_error, std::generic_category() ) );
|
||||
on_error( request, std::make_error_code( std::errc::protocol_error ) );
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue