diff options
| author | Paul Eggert | 2012-02-10 10:58:48 -0800 |
|---|---|---|
| committer | Paul Eggert | 2012-02-10 10:58:48 -0800 |
| commit | 6e6c82a4e687708d5a7a3887f92db45bd74da276 (patch) | |
| tree | 85dc3105240e84a8cddadb25d572e170fcdbd8bc /src/process.c | |
| parent | 78df1fb1d46d556bfc2698ca1802972b13613ba8 (diff) | |
| parent | cc26d239af9a82cff079556a1daff4b4bf60eb5c (diff) | |
| download | emacs-6e6c82a4e687708d5a7a3887f92db45bd74da276.tar.gz emacs-6e6c82a4e687708d5a7a3887f92db45bd74da276.zip | |
Merge from trunk.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 10 |
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); |