summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/Libgcrypt/cipher/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/Libgcrypt/cipher/md.c')
-rw-r--r--plugins/MirOTR/Libgcrypt/cipher/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/Libgcrypt/cipher/md.c b/plugins/MirOTR/Libgcrypt/cipher/md.c
index 20b652e03b..c9f0ab3f33 100644
--- a/plugins/MirOTR/Libgcrypt/cipher/md.c
+++ b/plugins/MirOTR/Libgcrypt/cipher/md.c
@@ -1121,7 +1121,7 @@ md_start_debug ( gcry_md_hd_t md, const char *suffix )
return;
}
idx++;
- snprintf (buf, DIM(buf)-1, "dbgmd-%05d.%.10s", idx, suffix );
+ _snprintf (buf, DIM(buf)-1, "dbgmd-%05d.%.10s", idx, suffix );
md->ctx->debug = fopen(buf, "w");
if ( !md->ctx->debug )
log_debug("md debug: can't open %s\n", buf );