vere: account for scry callback changes

This commit is contained in:
Fang 2020-07-03 01:08:10 +02:00
parent 92beeca9f0
commit 70bdc4a675
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -712,7 +712,7 @@ static void
_ames_prot_scry_cb(void* vod_p, u3_noun nun)
{
u3_ames* sam_u = vod_p;
u3_weak ver = u3r_at(7, nun);
u3_weak ver = u3r_at(15, nun); //TODO nun is [~ %noun ~ x] now?
if (u3_none == ver) {
// assume protocol version 0
@ -721,7 +721,7 @@ _ames_prot_scry_cb(void* vod_p, u3_noun nun)
}
else if ( (c3n == u3a_is_cat(ver))
|| (7 < ver) ) {
u3m_p("ames: strange protocol", ver);
u3m_p("ames: strange protocol", nun);
sam_u->ver_y = 0;
}
else {