diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/return_types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/return_types.cpp b/src/return_types.cpp index 3a7b30f..9428e0d 100644 --- a/src/return_types.cpp +++ b/src/return_types.cpp @@ -21,7 +21,7 @@ namespace mastodonpp answer_type::operator bool() const { - return (error_code == 0); + return (curl_error_code == 0); } answer_type::operator string_view() const |