auto const r = curl_easy_perform (curl);
if (r != CURLE_OK) {
- throw NetworkError (_("Failed to send email"), curl_easy_strerror(r));
+ throw NetworkError (_("Failed to send email"), string(curl_easy_strerror(r)));
}
curl_slist_free_all (recipients);