X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/38bb45223a0d4759ff453e84171974575a6c04e6..3f7ad83398f66dfd7a4beb1b5bf610b499f6b942:/src/redis.c?ds=inline diff --git a/src/redis.c b/src/redis.c index 9cd54c75..8cfabba7 100644 --- a/src/redis.c +++ b/src/redis.c @@ -926,8 +926,8 @@ void createSharedObjects(void) { "-MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.\r\n")); shared.roslaveerr = createObject(REDIS_STRING,sdsnew( "-READONLY You can't write against a read only slave.\r\n")); - shared.oomerr = createObject(REDIS_STRING, - "-OOM command not allowed when used memory > 'maxmemory'.\r\n"); + shared.oomerr = createObject(REDIS_STRING,sdsnew( + "-OOM command not allowed when used memory > 'maxmemory'.\r\n")); shared.space = createObject(REDIS_STRING,sdsnew(" ")); shared.colon = createObject(REDIS_STRING,sdsnew(":")); shared.plus = createObject(REDIS_STRING,sdsnew("+"));