Skip to content

Commit

Permalink
Merge pull request #127 from jamesjer/master
Browse files Browse the repository at this point in the history
Fix return type of caml_zmq_set_string_option
  • Loading branch information
Leonidas-from-XIV authored Jul 12, 2023
2 parents 0286124 + 98908be commit 7651911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmq/src/caml_zmq_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ static int const native_bytes_option_for[] = {
ZMQ_ZAP_DOMAIN,
};

int caml_zmq_set_string_option(value socket, value option_name, value socket_option) {
CAMLprim value caml_zmq_set_string_option(value socket, value option_name, value socket_option) {
CAMLparam3 (socket, option_name, socket_option);

const char *option_value = String_val(socket_option);
Expand Down

0 comments on commit 7651911

Please sign in to comment.