From 6eeedc7d5f52d5bd9157d3880c1b80826be15094 Mon Sep 17 00:00:00 2001 From: nils Date: Sun, 9 Oct 2005 12:00:34 +0000 Subject: [PATCH] fix typo git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2641 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/libopensc/card.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libopensc/card.c b/src/libopensc/card.c index 1b4ba871..091dda31 100644 --- a/src/libopensc/card.c +++ b/src/libopensc/card.c @@ -164,8 +164,8 @@ static int sc_transceive(sc_card_t *card, sc_apdu_t *apdu) switch (apdu->cse) { case SC_APDU_CASE_1: if (card->slot->active_protocol == SC_PROTO_T0) - /* TO adds an additional 0x00 byte to the TPDU */ - *data++; + /* T0 adds an additional 0x00 byte to the TPDU */ + *data++ = 0x00; break; case SC_APDU_CASE_2_SHORT: *data++ = (u8) apdu->le;