aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/process.c b/src/process.c
index b4fca389d0d..daa49b129ae 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5046,9 +5046,8 @@ read_process_output (Lisp_Object proc, register int channel)
5046 proc_buffered_char[channel] = -1; 5046 proc_buffered_char[channel] = -1;
5047 } 5047 }
5048#ifdef HAVE_GNUTLS 5048#ifdef HAVE_GNUTLS
5049 if (XPROCESS (proc)->gnutls_p) 5049 if (p->gnutls_p)
5050 nbytes = emacs_gnutls_read (XPROCESS (proc), 5050 nbytes = emacs_gnutls_read (p, chars + carryover + buffered,
5051 chars + carryover + buffered,
5052 readmax - buffered); 5051 readmax - buffered);
5053 else 5052 else
5054#endif 5053#endif
@@ -5513,9 +5512,8 @@ send_process (volatile Lisp_Object proc, const char *volatile buf,
5513#endif 5512#endif
5514 { 5513 {
5515#ifdef HAVE_GNUTLS 5514#ifdef HAVE_GNUTLS
5516 if (XPROCESS (proc)->gnutls_p) 5515 if (p->gnutls_p)
5517 written = emacs_gnutls_write (XPROCESS (proc), 5516 written = emacs_gnutls_write (p, buf, this);
5518 buf, this);
5519 else 5517 else
5520#endif 5518#endif
5521 written = emacs_write (outfd, buf, this); 5519 written = emacs_write (outfd, buf, this);