/* Try LZF compression - under 20 bytes it's unable to compress even
* aaaaaaaaaaaaaaaaaa so to try is just useful to make the CPU hot */
- if (len > 20) {
+ if (0 && len > 20) {
int retval;
retval = rdbSaveLzfStringObject(fp,obj);
/*================================== Commands =============================== */
static void authCommand(redisClient *c) {
- if (!strcmp(c->argv[1]->ptr, server.requirepass)) {
+ if (!server.requirepass || !strcmp(c->argv[1]->ptr, server.requirepass)) {
c->authenticated = 1;
addReply(c,shared.ok);
} else {