aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/process.c b/src/process.c
index 5bd8c255a26..3fccd962da6 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3905,7 +3905,7 @@ usage: (make-network-process &rest ARGS) */)
3905 CHECK_STRING (name); 3905 CHECK_STRING (name);
3906 3906
3907 /* :local ADDRESS or :remote ADDRESS */ 3907 /* :local ADDRESS or :remote ADDRESS */
3908 if (!NILP (server)) 3908 if (NILP (server))
3909 address = Fplist_get (contact, QCremote); 3909 address = Fplist_get (contact, QCremote);
3910 else 3910 else
3911 address = Fplist_get (contact, QClocal); 3911 address = Fplist_get (contact, QClocal);
@@ -4612,12 +4612,11 @@ is nil, from any process) before the timeout expired. */)
4612 { 4612 {
4613 Lisp_Object proc_thread_name = XTHREAD (proc->thread)->name; 4613 Lisp_Object proc_thread_name = XTHREAD (proc->thread)->name;
4614 4614
4615 if (STRINGP (proc_thread_name)) 4615 error ("Attempt to accept output from process %s locked to thread %s",
4616 error ("Attempt to accept output from process %s locked to thread %s", 4616 SDATA (proc->name),
4617 SDATA (proc->name), SDATA (proc_thread_name)); 4617 STRINGP (proc_thread_name)
4618 else 4618 ? SDATA (proc_thread_name)
4619 error ("Attempt to accept output from process %s locked to thread %p", 4619 : SDATA (Fprin1_to_string (proc->thread, Qt)));
4620 SDATA (proc->name), XTHREAD (proc->thread));
4621 } 4620 }
4622 } 4621 }
4623 else 4622 else