mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 19:29:18 +00:00
fix a warning and indents
This commit is contained in:
parent
a97df3c953
commit
d157f74b5d
@ -274,9 +274,9 @@ if_start(void)
|
||||
return; /* Nothing to do */
|
||||
|
||||
again:
|
||||
/* check if we can really output */
|
||||
if (!slirp_can_output())
|
||||
return;
|
||||
/* check if we can really output */
|
||||
if (!slirp_can_output())
|
||||
return;
|
||||
|
||||
/*
|
||||
* See which queue to get next packet from
|
||||
@ -313,9 +313,9 @@ if_start(void)
|
||||
}
|
||||
|
||||
/* 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)
|
||||
goto again;
|
||||
|
Loading…
Reference in New Issue
Block a user