mirror of
https://github.com/urbit/shrub.git
synced 2024-12-29 23:23:52 +03:00
newt: remove fprintf
This was sorta here in case that decode case ever got tripped erroneously. Calling bal_f ought to be sufficient to produce a log.
This commit is contained in:
parent
ee68f533fe
commit
9280c107c0
@ -211,7 +211,6 @@ _newt_read(u3_moat* mot_u,
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if ( c3n == u3_newt_decode(mot_u, (c3_y*)buf_u->base, (c3_d)len_i) ) {
|
if ( c3n == u3_newt_decode(mot_u, (c3_y*)buf_u->base, (c3_d)len_i) ) {
|
||||||
fprintf(stderr, "newt: decode failed\r\n");
|
|
||||||
mot_u->bal_f(mot_u->ptr_v, -1, "newt-decode");
|
mot_u->bal_f(mot_u->ptr_v, -1, "newt-decode");
|
||||||
c3_free(buf_u->base);
|
c3_free(buf_u->base);
|
||||||
return c3n;
|
return c3n;
|
||||||
|
Loading…
Reference in New Issue
Block a user