Skip to content

Commit

Permalink
fix: astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
zfields committed Sep 8, 2023
1 parent a64be28 commit d48d585
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions n_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,10 @@ const char * NoteBinaryReceive(uint8_t *buffer, uint32_t bufLen,
if (!buffer) {
err = ERRSTR("NULL buffer", c_bad);
NOTE_C_LOG_ERROR(err);
}
else if (!dataLen) {
} else if (!dataLen) {
err = ERRSTR("NULL dataLen not allowed", c_bad);
NOTE_C_LOG_ERROR(err);
}
else {
} else {
// Calculate the data length available on the Notecard
if ((err = NoteBinaryDataDecodedLength(&decodedLen))) {
decodedLen = 0;
Expand Down

0 comments on commit d48d585

Please sign in to comment.