[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] feature/async-dns fc4457d 1/2: Add blocker warnings to the
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] feature/async-dns fc4457d 1/2: Add blocker warnings to the *Messages* buffer |
Date: |
Mon, 22 Feb 2016 02:14:49 +0000 |
branch: feature/async-dns
commit fc4457d7143c44514810b971e103daedcea404ec
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Add blocker warnings to the *Messages* buffer
* src/process.c (wait_for_socket_fds): Add warning to the log.
(wait_while_connecting): Ditto.
(wait_for_tls_negotiation): Ditto.
---
src/process.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/process.c b/src/process.c
index 1f83327..79f8072 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4733,7 +4733,7 @@ wait_for_socket_fds (Lisp_Object process, char *name)
while (XPROCESS (process)->infd < 0 &&
EQ (XPROCESS (process)->status, Qconnect))
{
- printf("Waiting for socket from %s...\n", name);
+ add_to_log ("Waiting for socket from %s...\n", name);
wait_reading_process_output (0, 20 * 1000 * 1000, 0, 0, Qnil, NULL, 0);
}
}
@@ -4743,7 +4743,7 @@ wait_while_connecting (Lisp_Object process)
{
while (EQ (XPROCESS (process)->status, Qconnect))
{
- printf("Waiting for connection...\n");
+ add_to_log ("Waiting for connection...\n");
wait_reading_process_output (0, 20 * 1000 * 1000, 0, 0, Qnil, NULL, 0);
}
}
@@ -4755,7 +4755,7 @@ wait_for_tls_negotiation (Lisp_Object process)
while (XPROCESS (process)->gnutls_p &&
XPROCESS (process)->gnutls_initstage != GNUTLS_STAGE_READY)
{
- printf("Waiting for TLS...\n");
+ add_to_log ("Waiting for TLS...\n");
wait_reading_process_output (0, 20 * 1000 * 1000, 0, 0, Qnil, NULL, 0);
}
#endif