diff --git a/pkg/urbit/vere/io/http.c b/pkg/urbit/vere/io/http.c index 451a4e26f4..8a26a35ae9 100644 --- a/pkg/urbit/vere/io/http.c +++ b/pkg/urbit/vere/io/http.c @@ -1605,11 +1605,12 @@ _http_write_ports_file(u3_httd* htd_u, c3_c *pax_c) u3_http* htp_u = htd_u->htp_u; + c3_c temp[32]; while ( 0 != htp_u ) { if ( 0 < htp_u->por_s ) { - dprintf(por_i, "%u %s %s\n", htp_u->por_s, + write(por_i, temp, snprintf(temp, 32, "%u %s %s\n", htp_u->por_s, (c3y == htp_u->sec) ? "secure" : "insecure", - (c3y == htp_u->lop) ? "loopback" : "public"); + (c3y == htp_u->lop) ? "loopback" : "public")); } htp_u = htp_u->nex_u;