aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mdfilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/mdfilter.c')
-rw-r--r--g10/mdfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/mdfilter.c b/g10/mdfilter.c
index 708bdcdfc..88b2ee18d 100644
--- a/g10/mdfilter.c
+++ b/g10/mdfilter.c
@@ -58,7 +58,7 @@ md_filter( void *opaque, int control,
*ret_len = i;
}
else if( control == IOBUFCTRL_DESC )
- *(char**)buf = "md_filter";
+ mem2str (buf, "md_filter", *ret_len);
return rc;
}