1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

common/iobuf.c: Refactor code to not need the desc field.

* common/iobuf.h (struct iobuf_struct): Remove field desc.
* common/iobuf.c (iobuf_desc): New function.  When a filter's
description is needed, use this instead of the filter's desc field.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
This commit is contained in:
Neal H. Walfield 2015-08-09 16:57:42 +02:00
parent 12fc56bcb5
commit 679acc671e
2 changed files with 29 additions and 31 deletions

View file

@ -99,7 +99,6 @@ struct iobuf_struct
iobuf_t chain; /* Next iobuf used for i/o if any
(passed to filter) */
int no, subno;
const char *desc;
};
#ifndef EXTERN_UNLESS_MAIN_MODULE