aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pipemode.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/pipemode.c')
-rw-r--r--g10/pipemode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/pipemode.c b/g10/pipemode.c
index 077f967cd..60c802060 100644
--- a/g10/pipemode.c
+++ b/g10/pipemode.c
@@ -281,7 +281,7 @@ pipemode_filter( void *opaque, int control,
*ret_len = n;
}
else if( control == IOBUFCTRL_DESC )
- *(char**)buf = "pipemode_filter";
+ mem2str (buf, "pipemode_filter", *ret_len);
return rc;
}