Merge pull request #7168 from lioncash/whoops

proAdhoc: Change resolveMAC to return bool
This commit is contained in:
Unknown W. Brackets 2014-12-10 20:58:22 -08:00
commit 5d48d896d6
2 changed files with 2 additions and 2 deletions

View File

@ -790,7 +790,7 @@ bool resolveIP(uint32_t ip, SceNetEtherAddr * mac) {
return false;
}
int resolveMAC(SceNetEtherAddr * mac, uint32_t * ip) {
bool resolveMAC(SceNetEtherAddr * mac, uint32_t * ip) {
// Get Local MAC Address
SceNetEtherAddr localMac;
getLocalMac(&localMac);

View File

@ -645,7 +645,7 @@ bool resolveIP(uint32_t ip, SceNetEtherAddr * mac);
* @param ip OUT: Peer IP
* @return true on success, false otherwise.
*/
int resolveMAC(SceNetEtherAddr * mac, uint32_t * ip);
bool resolveMAC(SceNetEtherAddr * mac, uint32_t * ip);
/**
* Check whether Network Name contains only valid symbols