diff options
author | Jim Rees <rees@cvs.openbsd.org> | 2001-09-27 16:01:42 +0000 |
---|---|---|
committer | Jim Rees <rees@cvs.openbsd.org> | 2001-09-27 16:01:42 +0000 |
commit | 5cc18304f924885466665c9076149fa0c9ec21bc (patch) | |
tree | d6307380e094f2ad65d5066dccf21ccae631a90a /lib | |
parent | 082957eac557892f6891b5c9daa6e8ae4cf563f0 (diff) |
hush gcc warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libsectok/atr.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/lib/libsectok/atr.c b/lib/libsectok/atr.c index 990166d5423..bf1d00b425c 100644 --- a/lib/libsectok/atr.c +++ b/lib/libsectok/atr.c @@ -1,4 +1,4 @@ -/* $Id: atr.c,v 1.9 2001/08/02 23:41:52 rees Exp $ */ +/* $Id: atr.c,v 1.10 2001/09/27 16:01:41 rees Exp $ */ /* copyright 1997, 1999, 2000, 2001 @@ -218,18 +218,17 @@ sectok_parse_atr(int ttyn, int flags, unsigned char *atr, int len, struct scpara if (nhb) { hb = ap; ap += nhb; - } - - if (nhb && (flags & STRV)) { - printf("%d historical bytes:", nhb); - for (i = 0; i < nhb; i++) { - c = hb[i]; - if (c >= ' ' && c <= '~') - printf(" %c", c); - else - printf(" %02x", c); + if (flags & STRV) { + printf("%d historical bytes:", nhb); + for (i = 0; i < nhb; i++) { + c = hb[i]; + if (c >= ' ' && c <= '~') + printf(" %c", c); + else + printf(" %02x", c); + } + printf("\n"); } - printf("\n"); } if (hiproto > 0) |