Missing return statement added
FossilOrigin-Name: 340f67cbece4b0d591f145abb2bac00a7386f8c3232c7c7131e96a91ed4a7ad9
This commit is contained in:
parent
0e73ac817a
commit
2c6807ef78
@ -37,7 +37,7 @@ int sock_cmpaddr(const struct sockaddr *addr1, const struct sockaddr *addr2,int
|
|||||||
int slen;
|
int slen;
|
||||||
|
|
||||||
if (addr1->sa_family != addr2->sa_family){
|
if (addr1->sa_family != addr2->sa_family){
|
||||||
addr1->sa_family - addr2->sa_family;
|
return addr1->sa_family - addr2->sa_family;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (addr1->sa_family){
|
switch (addr1->sa_family){
|
||||||
|
Loading…
Reference in New Issue
Block a user