Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to caml_named_value signature change #35

Merged
merged 1 commit into from
Oct 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions curl-helper.c
Expand Up @@ -577,7 +577,7 @@ static void raiseError(Connection *conn, CURLcode code)
{
CAMLparam0();
CAMLlocal1(exceptionData);
value *exception;
const value *exception;
char *errorString = "Unknown Error";
int i;

Expand Down Expand Up @@ -3208,7 +3208,7 @@ value caml_curl_easy_setopt(value conn, value option)
CAMLlocal1(data);
Connection *connection = Connection_val(conn);
CURLOptionMapping* thisOption = NULL;
static value* exception = NULL;
static const value* exception = NULL;

checkConnection(connection);

Expand Down Expand Up @@ -4200,7 +4200,7 @@ value caml_curl_curlCode_of_int(value v)

static void raise_multi_error(char const* msg)
{
static value* exception = NULL;
static const value* exception = NULL;

if (NULL == exception)
{
Expand Down Expand Up @@ -4459,7 +4459,7 @@ value caml_curl_multi_setopt(value v_multi, value option)
CAMLlocal1(data);
CURLM *handle = Multi_val(v_multi)->handle;
CURLMOptionMapping* thisOption = NULL;
static value* exception = NULL;
static const value* exception = NULL;

data = Field(option, 0);

Expand Down