contact: Change in_contact()'s first parameter to natid

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-10-29 09:06:12 +02:00
parent c8e7548f24
commit d35303d426
9 changed files with 19 additions and 20 deletions

View file

@ -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