diff options
Diffstat (limited to 'apps/netutils/smtp/smtp.c')
-rw-r--r-- | apps/netutils/smtp/smtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/netutils/smtp/smtp.c b/apps/netutils/smtp/smtp.c index f33183ff6..d3cab20a9 100644 --- a/apps/netutils/smtp/smtp.c +++ b/apps/netutils/smtp/smtp.c @@ -290,7 +290,7 @@ void smtp_configure(FAR void *handle, FAR const char *lhostname, { FAR struct smtp_state *psmtp = (FAR struct smtp_state *)handle; psmtp->localhostname = lhostname; - net_ipaddr_copy(psmtp->smtpserver, paddr); + net_ipv4addr_copy(psmtp->smtpserver, paddr); } /* Send an e-mail. |