Commit a7c0510a authored by jan.koester's avatar jan.koester
Browse files

test

parent 400e850a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -85,7 +85,8 @@ REDISLOAD:
}

bool blogi::RedisStore::reconnect(){
    if(redisReconnect(_RedisCTX) && !_RedisCTX->err){
    int c = redisReconnect(_RedisCTX);
    if( c != REDIS_ERR ){
        if(!_pw.empty()){
            redisReply *reply = (redisReply*)redisCommand(_RedisCTX, "AUTH %s", _pw.c_str());
            if (reply->type == REDIS_REPLY_ERROR) {