Fixed minor Node compilation issue

pull/6322/head
murgatroid99 9 years ago
parent cec42984a0
commit 8658b17866
  1. 4
      src/node/ext/server_credentials.cc

@ -146,7 +146,9 @@ NAN_METHOD(ServerCredentials::CreateSsl) {
"createSsl's second argument must be a list of objects"); "createSsl's second argument must be a list of objects");
} }
grpc_ssl_client_certificate_request_type client_certificate_request; // Default to not requesting the client certificate
grpc_ssl_client_certificate_request_type client_certificate_request =
GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE;
if (info[2]->IsBoolean()) { if (info[2]->IsBoolean()) {
client_certificate_request = client_certificate_request =
Nan::To<bool>(info[2]).FromJust() Nan::To<bool>(info[2]).FromJust()

Loading…
Cancel
Save