mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-28 14:54:05 +00:00
apps/smtp: Remove redundant LWIP_ASSERT checking in smtp_send_mail_bodycback
Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
b1fbb5ad45
commit
d116d235a5
@ -1498,7 +1498,6 @@ smtp_send_mail_bodycback(const char *from, const char* to, const char* subject,
|
||||
LWIP_ASSERT("string is too long", len <= 0xffff);
|
||||
s->subject_len = (u16_t)len;
|
||||
s->body = NULL;
|
||||
LWIP_ASSERT("string is too long", len <= 0xffff);
|
||||
s->callback_fn = callback_fn;
|
||||
s->callback_arg = callback_arg;
|
||||
s->bodydh->callback_fn = bodycback_fn;
|
||||
|
Loading…
x
Reference in New Issue
Block a user