From e58db5f6bda38a190dac6fccde019686e3619339 Mon Sep 17 00:00:00 2001 From: Yavor Georgiev Date: Mon, 14 May 2018 15:37:34 +0300 Subject: [PATCH] fix typo --- src/js_sync.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js_sync.hpp b/src/js_sync.hpp index a2c84196..13cb4ba5 100644 --- a/src/js_sync.hpp +++ b/src/js_sync.hpp @@ -909,7 +909,7 @@ template void SyncClass::populate_sync_config_for_ssl(ContextType ctx, ObjectType config_object, SyncConfig& config) { ValueType validate_ssl = Object::get_property(ctx, config_object, "validate"); - if (Value::is_boolean(ctx, validate_ssl_temp)) { + if (Value::is_boolean(ctx, validate_ssl)) { config.client_validate_ssl = Value::to_boolean(ctx, validate_ssl); }