Ver código fonte

HPCC-15446 Redis Plugin code typo

Signed-off-by: James Noss <james.noss@lexisnexis.com>
James Noss 9 anos atrás
pai
commit
1c22cbee3e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      plugins/redis/redis.cpp

+ 1 - 1
plugins/redis/redis.cpp

@@ -216,7 +216,7 @@ Connection::Connection(ICodeContext * ctx, const char * _options, int _database,
   : context(nullptr), database(0), timeout(_timeout), port(0), serverIpPortPasswordHash(0)
 {
 #if HIREDIS_VERSION_OK
-    serverIpPortPasswordHash = hashServerIpPortPassword(ctx, _options, pass);
+    serverIpPortPasswordHash = hashServerIpPortPassword(ctx, _options, password);
 #endif
     options.set(_options, strlen(_options));
     parseOptions(ctx, _options);