From: antirez Date: Tue, 1 Jun 2010 12:22:21 +0000 (+0200) Subject: Debug message was printing stuff that are sometimes not initialized/valid X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/dbc289aed1cdefb51d8764000d95d5259f50b132 Debug message was printing stuff that are sometimes not initialized/valid --- diff --git a/redis.c b/redis.c index b5e10d46..2462d85e 100644 --- a/redis.c +++ b/redis.c @@ -9598,8 +9598,8 @@ again: if (job->canceled) continue; /* Skip this, already canceled. */ if (job->id == o) { - redisLog(REDIS_DEBUG,"*** CANCELED %p (%s) (type %d) (LIST ID %d)\n", - (void*)job, (char*)o->ptr, job->type, i); + redisLog(REDIS_DEBUG,"*** CANCELED %p (key %s) (type %d) (LIST ID %d)\n", + (void*)job, (char*)job->key->ptr, job->type, i); /* Mark the pages as free since the swap didn't happened * or happened but is now discarded. */ if (i != 1 && job->type == REDIS_IOJOB_DO_SWAP)