Merge pull request #602 from birarda/master

type squishes for podspec test
This commit is contained in:
Stephen Birarda 2013-07-01 09:39:15 -07:00
commit 3ee690b11d

View file

@ -105,7 +105,7 @@ bool Agent::operator==(const Agent& otherAgent) {
return matches(otherAgent._publicSocket, otherAgent._localSocket, otherAgent._type);
}
bool Agent::matches(sockaddr *otherPublicSocket, sockaddr *otherLocalSocket, char otherAgentType) {
bool Agent::matches(sockaddr* otherPublicSocket, sockaddr* otherLocalSocket, char otherAgentType) {
// checks if two agent objects are the same agent (same type + local + public address)
return _type == otherAgentType
&& socketMatch(_publicSocket, otherPublicSocket)