Skip to content

Commit

Permalink
Lick Pointer bug (#722)
Browse files Browse the repository at this point in the history
Fixes a bug where you couldn't access any lick ports after opening the
first one due to stupid pointer allocations
  • Loading branch information
pkova authored Sep 27, 2024
2 parents ded901f + 8d4b408 commit f5799a9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/vere/io/lick.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,10 +472,8 @@ _lick_ef_spin(u3_lick* lic_u, u3_noun nam)
gen_u->liv_o = c3y;

_lick_init_sock(gen_u->san_u);
if ( NULL == las_u) {
lic_u->gen_u = gen_u;
}
else las_u->nex_u = gen_u;
gen_u ->nex_u = lic_u->gen_u;
lic_u->gen_u = gen_u;
}

/* _lick_ef_spit(): spit effects to port
Expand Down

0 comments on commit f5799a9

Please sign in to comment.