1
1
mirror of https://github.com/urbit/shrub.git synced 2024-12-25 13:04:17 +03:00

serf: fix replay %bail response $plea construction

This commit is contained in:
Joe Bryan 2021-10-13 00:35:07 -04:00
parent 5ad4548ed5
commit 66f8a893a6

View File

@ -751,17 +751,13 @@ _serf_play_list(u3_serf* sef_u, u3_noun eve)
eve = u3t(eve);
}
// event succeeded, save and continue
// event failed, stop and send trace
//
else {
u3_noun dud = u3k(u3t(gon));
// reset sent event counter
//
sef_u->sen_d = sef_u->dun_d;
u3z(gon);
// XX reclaim on meme ?
//
@ -770,7 +766,7 @@ _serf_play_list(u3_serf* sef_u, u3_noun eve)
u3z(vev);
return u3nc(c3__bail, u3nt(u3i_chubs(1, &sef_u->dun_d),
sef_u->mug_l,
dud));
gon));
}
}