Skip to content
Snippets Groups Projects
Commit 284785af authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Formatting cleanup

parent ca9128f3
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -126,11 +126,11 @@ sftp_remove_packet(sftp_rx_pkt_t pkt)
return;
}
#define GET_FUNC_BODY \
assert(pkt); \
if (pkt->cur + offsetof(struct sftp_rx_pkt, data) + sizeof(ret) > pkt->sz) \
return 0; \
memcpy(&ret, &pkt->data[pkt->cur], sizeof(ret)); \
#define GET_FUNC_BODY \
assert(pkt); \
if (pkt->cur + offsetof(struct sftp_rx_pkt, data) + sizeof(ret) > pkt->sz) \
return 0; \
memcpy(&ret, &pkt->data[pkt->cur], sizeof(ret)); \
pkt->cur += sizeof(ret)
uint8_t
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment