Skip to content

Commit

Permalink
fix error: using typedef-name ‘curl_mime’ after ‘struct’ (libcpr#892)
Browse files Browse the repository at this point in the history
we already have previous declaration of ‘curl_mime’ in curl.h: typedef struct curl_mime_s curl_mime;
  • Loading branch information
guylevy84 committed Mar 30, 2023
1 parent 742fb6f commit 4d2f73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cpr/curlholder.h
Expand Up @@ -28,7 +28,7 @@ struct CurlHolder {
CURL* handle{nullptr};
struct curl_slist* chunk{nullptr};
struct curl_slist* resolveCurlList{nullptr};
struct curl_mime* multipart{nullptr};
curl_mime* multipart{nullptr};
std::array<char, CURL_ERROR_SIZE> error{};

CurlHolder();
Expand Down

0 comments on commit 4d2f73a

Please sign in to comment.