X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/feb5361ac535c09eb8dbda4cd25157c77764c287..8d14d66b84cc370cefe54b33de1b95bb49c90bf6:/armor.c diff --git a/armor.c b/armor.c index 6bb77d8..bb0085e 100644 --- a/armor.c +++ b/armor.c @@ -188,6 +188,8 @@ static int armor_putchar(void *ctx, size_t count, unsigned char *c) { int i; + log_assert(c != NULL); + for (i = 0; i < count; i++) { armor_putchar_int(ctx, c[i]); }