Made the first argument to uip_connect() const, to ensure it isn't altered
This commit is contained in:
parent
daef1ea252
commit
e9f180e756
5 changed files with 5 additions and 5 deletions
|
@ -386,7 +386,7 @@ uip_init(void)
|
|||
/*---------------------------------------------------------------------------*/
|
||||
#if UIP_ACTIVE_OPEN
|
||||
struct uip_conn *
|
||||
uip_connect(uip_ipaddr_t *ripaddr, uint16_t rport)
|
||||
uip_connect(const uip_ipaddr_t *ripaddr, uint16_t rport)
|
||||
{
|
||||
register struct uip_conn *conn, *cconn;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue