vere: clean up flog callback, enable streaming
Print the correct data, and send it to the webslog callback as well.
@@ -366,17 +366,15 @@ _lord_plea_slog(u3_lord* god_u, u3_noun dat)
static void
_lord_plea_flog(u3_lord* god_u, u3_noun dat)
{
- u3_noun pri, tan;
- c3_w pri_w;
-
if ( c3n == u3a_is_atom(dat) ) {
- return _lord_plea_foul(god_u, c3__slog, dat);
+ return _lord_plea_foul(god_u, c3__flog, dat);
}
- c3_c* tan_c = u3r_string(tan);
+ c3_c* tan_c = u3r_string(dat);
u3C.stderr_log_f(tan_c);
c3_free(tan_c);
- u3z(dat);
+
+ god_u->cb_u.slog_f(god_u->cb_u.ptr_v, 0, dat);
}
/* _lord_plea_peek_bail(): hear serf %peek %bail
