Merge pull request #555 from dengert/piv-readability

Fix indentation for readability
This commit is contained in:
Frank Morgner 2015-09-18 10:13:23 +02:00
commit ba02d69f2b
1 changed files with 7 additions and 7 deletions

View File

@ -1172,13 +1172,13 @@ static int piv_read_binary(sc_card_t *card, unsigned int idx,
if ( rbuflen < idx + count)
count = rbuflen - idx;
if (count <= 0) {
r = 0;
priv->rwb_state = 1;
} else {
memcpy(buf, rbuf + idx, count);
r = count;
}
if (count <= 0) {
r = 0;
priv->rwb_state = 1;
} else {
memcpy(buf, rbuf + idx, count);
r = count;
}
err:
SC_FUNC_RETURN(card->ctx, SC_LOG_DEBUG_NORMAL, r);
}