diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-06-29 12:22:50 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-06-29 12:22:50 -0600 |
commit | 5c4d51bb64d37019f2991fe2cc7615b5f64faf80 (patch) | |
tree | 6d5c9cbbb485dd5017d6fc73e756b5166999f032 /apps/netutils | |
parent | 1deaf2a9634576bf0e0f35a24911c3f22215fbd2 (diff) | |
download | nuttx-5c4d51bb64d37019f2991fe2cc7615b5f64faf80.tar.gz nuttx-5c4d51bb64d37019f2991fe2cc7615b5f64faf80.tar.bz2 nuttx-5c4d51bb64d37019f2991fe2cc7615b5f64faf80.zip |
NET: Renaming of IP address types
Diffstat (limited to 'apps/netutils')
-rw-r--r-- | apps/netutils/smtp/smtp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/netutils/smtp/smtp.c b/apps/netutils/smtp/smtp.c index d83e260c5..4009beb0d 100644 --- a/apps/netutils/smtp/smtp.c +++ b/apps/netutils/smtp/smtp.c @@ -87,7 +87,7 @@ struct smtp_state uint8_t state; bool connected; sem_t sem; - uip_ipaddr_t smtpserver; + net_ipaddr_t smtpserver; const char *localhostname; const char *to; const char *cc; @@ -283,10 +283,10 @@ static inline int smtp_send_message(int sockfd, struct smtp_state *psmtp) * configured. */ -void smtp_configure(void *handle, const char *lhostname, - const uip_ipaddr_t *paddr) +void smtp_configure(FAR void *handle, FAR const char *lhostname, + FAR const net_ipaddr_t *paddr) { - struct smtp_state *psmtp = (struct smtp_state *)handle; + FAR struct smtp_state *psmtp = (FAR struct smtp_state *)handle; psmtp->localhostname = lhostname; uip_ipaddr_copy(psmtp->smtpserver, paddr); } |