소스 검색

HPCC-15446 Redis Plugin code typo

Signed-off-by: James Noss <james.noss@lexisnexis.com>
James Noss 9 년 전
부모
커밋
1c22cbee3e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);