gpg: Add new function write_status_printf.
[gnupg.git] / g10 / compress-bz2.c
index ea80956..128eadf 100644 (file)
@@ -248,6 +248,6 @@ compress_filter_bz2( void *opaque, int control,
        zfx->release (zfx);
     }
   else if( control == IOBUFCTRL_DESC )
-    *(char**)buf = "compress_filter";
+    mem2str (buf, "compress_filter", *ret_len);
   return rc;
 }