summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-12-15 22:07:58 +0100
committerSergei Golubchik <sergii@pisem.net>2011-12-15 22:07:58 +0100
commit1efdd5a572ef202f64ef43d1868b021cf8c60873 (patch)
treec68816016f9d44769d8205cde2f99636d90fe6a3 /mysys
parentb86ba751daf208f38aaa98672d10733fd7173eae (diff)
downloadmariadb-git-1efdd5a572ef202f64ef43d1868b021cf8c60873.tar.gz
rename debug variable to debug_dbug, to make test pass in release builds
(and to follow the naming conventons). keep old debug variable, but mark it as deprecated.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/md5.c b/mysys/md5.c
index 2388cebedc4..22a5e409a09 100644
--- a/mysys/md5.c
+++ b/mysys/md5.c
@@ -176,7 +176,7 @@ my_MD5Final (unsigned char digest[16], my_MD5Context *ctx)
putu32(ctx->buf[1], digest + 4);
putu32(ctx->buf[2], digest + 8);
putu32(ctx->buf[3], digest + 12);
- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
+ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
}
#ifndef ASM_MD5