rename canceled to cancelled

This commit is contained in:
2019-07-09 14:42:40 +07:00
parent f13a10b30d
commit 80e74e4e9d
3 changed files with 20 additions and 20 deletions

View File

@@ -453,7 +453,7 @@ namespace curly_hpp
case CURLE_READ_ERROR:
case CURLE_WRITE_ERROR:
case CURLE_ABORTED_BY_CALLBACK:
status_ = req_status::canceled;
status_ = req_status::cancelled;
break;
default:
status_ = req_status::failed;
@@ -476,7 +476,7 @@ namespace curly_hpp
return false;
}
status_ = req_status::canceled;
status_ = req_status::cancelled;
error_.clear();
cvar_.notify_all();