mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-03 12:42:48 +03:00
Also remove uH/uL macros.
This commit is contained in:
parent
1e468f75d6
commit
29d40e032e
@ -1010,13 +1010,6 @@
|
||||
void
|
||||
u3_term_io_loja(int x);
|
||||
|
||||
/* uL, uH: wrap hijack/lojack around fprintf.
|
||||
**
|
||||
** uL(fprintf(uH, ...));
|
||||
*/
|
||||
# define uH u3_term_io_hija()
|
||||
# define uL(x) u3_term_io_loja(x)
|
||||
|
||||
|
||||
/** Ames, packet networking.
|
||||
**/
|
||||
|
@ -12,7 +12,8 @@ u3l_log(const char* format, ...)
|
||||
va_start(myargs, format);
|
||||
|
||||
if (u3C.stderr_log_f) {
|
||||
// the user set their own logging function. render the line and redirect to them
|
||||
// the user set their own logging function. render the line and redirect
|
||||
// to them.
|
||||
//
|
||||
char msg[4096];
|
||||
vsnprintf(msg, 4096, format, myargs);
|
||||
|
@ -1142,8 +1142,8 @@ _http_init_tls(uv_buf_t key_u, uv_buf_t cer_u)
|
||||
|
||||
if( 0 == sas_i ) {
|
||||
u3l_log("http: load private key failed:\n");
|
||||
ERR_print_errors_fp(uH);
|
||||
uL(1);
|
||||
ERR_print_errors_fp(u3_term_io_hija());
|
||||
u3_term_io_loja(1);
|
||||
|
||||
SSL_CTX_free(tls_u);
|
||||
|
||||
@ -1160,8 +1160,8 @@ _http_init_tls(uv_buf_t key_u, uv_buf_t cer_u)
|
||||
|
||||
if( 0 == sas_i ) {
|
||||
u3l_log("http: load certificate failed:\n");
|
||||
ERR_print_errors_fp(uH);
|
||||
uL(1);
|
||||
ERR_print_errors_fp(u3_term_io_hija());
|
||||
u3_term_io_loja(1);
|
||||
|
||||
BIO_free(bio_u);
|
||||
SSL_CTX_free(tls_u);
|
||||
|
Loading…
Reference in New Issue
Block a user