diff options
author | Neal H. Walfield <[email protected]> | 2015-08-09 14:57:42 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-08-20 12:16:17 +0000 |
commit | 679acc671e621847f50d6b4dca10a22c62500b9a (patch) | |
tree | c2bf8a7a08269b6d512d3796c98c5e5521f61346 /common/iobuf.h | |
parent | common/iobuf.h: Clarify semantics of nofast. Simplify implementation. (diff) | |
download | gnupg-679acc671e621847f50d6b4dca10a22c62500b9a.tar.gz gnupg-679acc671e621847f50d6b4dca10a22c62500b9a.zip |
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 <[email protected]>.
Diffstat (limited to 'common/iobuf.h')
-rw-r--r-- | common/iobuf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/iobuf.h b/common/iobuf.h index a69380959..1ae6f269e 100644 --- a/common/iobuf.h +++ b/common/iobuf.h @@ -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 |