Skip to content

Commit

Permalink
fix compilation for curl version < 7.40.0
Browse files Browse the repository at this point in the history
  • Loading branch information
itszootime committed Oct 16, 2015
1 parent 2d09a76 commit 802324b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/curb_easy.c
Original file line number Diff line number Diff line change
Expand Up @@ -3237,9 +3237,11 @@ static VALUE ruby_curl_easy_set_opt(VALUE self, VALUE opt, VALUE val) {
curl_easy_setopt(rbce->curl, CURLOPT_GSSAPI_DELEGATION, FIX2LONG(val));
} break;
#endif
#if HAVE_CURLOPT_UNIX_SOCKET_PATH
case CURLOPT_UNIX_SOCKET_PATH: {
curl_easy_setopt(rbce->curl, CURLOPT_UNIX_SOCKET_PATH, StringValueCStr(val));
} break;
#endif
default:
rb_raise(rb_eTypeError, "Curb unsupported option");
}
Expand Down

0 comments on commit 802324b

Please sign in to comment.