fix a warning and indents

This commit is contained in:
asvitkine 2011-12-27 07:29:34 +00:00
parent a97df3c953
commit d157f74b5d

View File

@ -274,9 +274,9 @@ if_start(void)
return; /* Nothing to do */ return; /* Nothing to do */
again: again:
/* check if we can really output */ /* check if we can really output */
if (!slirp_can_output()) if (!slirp_can_output())
return; return;
/* /*
* See which queue to get next packet from * See which queue to get next packet from
@ -313,9 +313,9 @@ if_start(void)
} }
/* Encapsulate the packet for sending */ /* Encapsulate the packet for sending */
if_encap(ifm->m_data, ifm->m_len); if_encap((uint8_t*)ifm->m_data, ifm->m_len);
m_free(ifm); m_free(ifm);
if (if_queued) if (if_queued)
goto again; goto again;