contact: Change in_contact()'s first parameter to natid
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
c8e7548f24
commit
d35303d426
9 changed files with 19 additions and 20 deletions
|
@ -110,9 +110,9 @@ agecontact(struct natstr *np)
|
|||
}
|
||||
|
||||
int
|
||||
in_contact(struct natstr *np, natid them)
|
||||
in_contact(natid us, natid them)
|
||||
{
|
||||
return getcontactp(np->nat_cnum)->con_contact[them];
|
||||
return getcontactp(us)->con_contact[them];
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue