diff options
author | Werner Koch <[email protected]> | 2016-04-29 09:05:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-04-29 09:05:24 +0000 |
commit | 64bfeafa52a5ed3fa82bdc0ce7ef0edddeef188c (patch) | |
tree | 820e0e686ef9672b4b05c1e644026840e5710b6a /g10/textfilter.c | |
parent | common: Improve log_assert. (diff) | |
download | gnupg-64bfeafa52a5ed3fa82bdc0ce7ef0edddeef188c.tar.gz gnupg-64bfeafa52a5ed3fa82bdc0ce7ef0edddeef188c.zip |
gpg: Remove all assert.h and s/assert/log_assert/.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/textfilter.c')
-rw-r--r-- | g10/textfilter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/g10/textfilter.c b/g10/textfilter.c index da303c4cc..5929c5f46 100644 --- a/g10/textfilter.c +++ b/g10/textfilter.c @@ -22,7 +22,6 @@ #include <stdlib.h> #include <string.h> #include <errno.h> -#include <assert.h> #include "gpg.h" #include "status.h" @@ -70,7 +69,7 @@ standard( text_filter_context_t *tfx, IOBUF a, size_t len = 0; unsigned maxlen; - assert( size > 10 ); + log_assert( size > 10 ); size -= 2; /* reserve 2 bytes to append CR,LF */ while( !rc && len < size ) { int lf_seen; |