Add missing variable declaration

#1972 removed the declaration of `i` from various locations. In one of those locations it is still needed. This commit puts it back
pull/2/head
George Oikonomou 2017-03-18 14:01:10 +00:00
parent 758d9aa168
commit 739b901e0d
1 changed files with 3 additions and 2 deletions

View File

@ -252,8 +252,9 @@ extern uip_ds6_netif_t uip_ds6_if;
static unsigned short
make_addresses(void *p)
{
uint8_t j=0;
uint16_t numprinted;
uint8_t i, j = 0;
uint16_t numprinted;
numprinted = httpd_snprintf((char *)uip_appdata, uip_mss(),httpd_cgi_addrh);
for (i=0; i<UIP_DS6_ADDR_NB;i++) {
if (uip_ds6_if.addr_list[i].isused) {