diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index 454f7d8a9aa..75dd7efd581 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4952,7 +4952,7 @@ read_process_output (Lisp_Object proc, register int channel) | |||
| 4952 | } | 4952 | } |
| 4953 | #ifdef HAVE_GNUTLS | 4953 | #ifdef HAVE_GNUTLS |
| 4954 | if (XPROCESS (proc)->gnutls_p) | 4954 | if (XPROCESS (proc)->gnutls_p) |
| 4955 | nbytes = emacs_gnutls_read (channel, XPROCESS (proc), | 4955 | nbytes = emacs_gnutls_read (XPROCESS (proc), |
| 4956 | chars + carryover + buffered, | 4956 | chars + carryover + buffered, |
| 4957 | readmax - buffered); | 4957 | readmax - buffered); |
| 4958 | else | 4958 | else |
| @@ -5415,9 +5415,8 @@ send_process (volatile Lisp_Object proc, const char *volatile buf, | |||
| 5415 | { | 5415 | { |
| 5416 | #ifdef HAVE_GNUTLS | 5416 | #ifdef HAVE_GNUTLS |
| 5417 | if (XPROCESS (proc)->gnutls_p) | 5417 | if (XPROCESS (proc)->gnutls_p) |
| 5418 | written = emacs_gnutls_write (outfd, | 5418 | written = emacs_gnutls_write (XPROCESS (proc), |
| 5419 | XPROCESS (proc), | 5419 | buf, this); |
| 5420 | buf, this); | ||
| 5421 | else | 5420 | else |
| 5422 | #endif | 5421 | #endif |
| 5423 | written = emacs_write (outfd, buf, this); | 5422 | written = emacs_write (outfd, buf, this); |