Skip to content

Commit

Permalink
ames: rename nal_d to nal_o
Browse files Browse the repository at this point in the history
  • Loading branch information
pkova committed Nov 6, 2023
1 parent 1e24bfb commit c6dbc60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/vere/io/ames.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
c3_w imp_w[256]; // imperial IPs
time_t imp_t[256]; // imperial IP timestamps
c3_o imp_o[256]; // imperial print status
c3_o nal_d; // lane cache backcompat flag
c3_o nal_o; // lane cache backcompat flag
struct { // config:
c3_o net_o; // can send
c3_o see_o; // can scry
Expand Down Expand Up @@ -1478,7 +1478,7 @@ _ames_try_send(u3_pact* pac_u, c3_o for_o)
//
else {
u3_noun key = u3i_chubs(2, pac_u->pre_u.rec_d);
lac = _ames_lane_from_cache(sam_u->lax_p, key, sam_u->nal_d);
lac = _ames_lane_from_cache(sam_u->lax_p, key, sam_u->nal_o);
}

// if we know there's no lane, drop the packet
Expand Down Expand Up @@ -2282,7 +2282,7 @@ _ames_kick_newt(u3_ames* sam_u, u3_noun tag, u3_noun dat)
u3_noun who = u3k(u3h(dat));
u3_noun las = u3k(u3t(dat));
_ames_lane_into_cache(sam_u->lax_p, who, las);
sam_u->nal_d = c3y;
sam_u->nal_o = c3y;
ret_o = c3y;
} break;
}
Expand Down Expand Up @@ -2466,7 +2466,7 @@ u3_ames_io_init(u3_pier* pir_u)
{
u3_ames* sam_u = c3_calloc(sizeof(*sam_u));
sam_u->pir_u = pir_u;
sam_u->nal_d = c3n;
sam_u->nal_o = c3n;
sam_u->fig_u.net_o = c3y;
sam_u->fig_u.see_o = c3y;
sam_u->fig_u.fit_o = c3n;
Expand Down

0 comments on commit c6dbc60

Please sign in to comment.