Commit 176d4250 authored by jan.koester's avatar jan.koester
Browse files

better checks

parent 3c1a7b9a
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -432,6 +432,7 @@ namespace blogi {
                throw exp;
            }

            if(Args->config->getRedisPassword()){
                redisReply *reply = (redisReply*)redisCommand(_RedisCTX, "AUTH %s", Args->config->getRedisPassword());
                if (reply->type == REDIS_REPLY_ERROR) {
                    libhttppp::HTTPException exp;
@@ -439,7 +440,7 @@ namespace blogi {
                    throw exp;
                }
                freeReplyObject(reply);

            }

        }