Made the first argument to uip_connect() const, to ensure it isn't altered

This commit is contained in:
Adam Dunkels 2015-03-26 08:18:09 +01:00
parent daef1ea252
commit e9f180e756
5 changed files with 5 additions and 5 deletions

View file

@ -228,7 +228,7 @@ packet_input(void)
#if UIP_TCP
#if UIP_ACTIVE_OPEN
struct uip_conn *
tcp_connect(uip_ipaddr_t *ripaddr, uint16_t port, void *appstate)
tcp_connect(const uip_ipaddr_t *ripaddr, uint16_t port, void *appstate)
{
struct uip_conn *c;