aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorAlan Mackenzie2011-10-28 13:56:09 +0000
committerAlan Mackenzie2011-10-28 13:56:09 +0000
commitc0f13227ab16ad9a87a16182e9d9ace5d2f7a6d9 (patch)
tree5b6aad37a5ab5a4d0591a0159b7041dba54f43b5 /src/process.c
parent536610a433e6edc0b3f831272c4e0424ebebee46 (diff)
parent44b0122fbb0af5606471d9667ce6352696d259b8 (diff)
downloademacs-c0f13227ab16ad9a87a16182e9d9ace5d2f7a6d9.tar.gz
emacs-c0f13227ab16ad9a87a16182e9d9ace5d2f7a6d9.zip
Merge in random stuff from savannah.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 90ad9c21681..dc37ec5f961 100644
--- a/src/process.c
+++ b/src/process.c
@@ -642,6 +642,9 @@ make_process (Lisp_Object name)
642 p->gnutls_initstage = GNUTLS_STAGE_EMPTY; 642 p->gnutls_initstage = GNUTLS_STAGE_EMPTY;
643 p->gnutls_log_level = 0; 643 p->gnutls_log_level = 0;
644 p->gnutls_p = 0; 644 p->gnutls_p = 0;
645 p->gnutls_state = NULL;
646 p->gnutls_x509_cred = NULL;
647 p->gnutls_anon_cred = NULL;
645#endif 648#endif
646 649
647 /* If name is already in use, modify it until it is unused. */ 650 /* If name is already in use, modify it until it is unused. */
@@ -3867,6 +3870,11 @@ deactivate_process (Lisp_Object proc)
3867 register int inchannel, outchannel; 3870 register int inchannel, outchannel;
3868 register struct Lisp_Process *p = XPROCESS (proc); 3871 register struct Lisp_Process *p = XPROCESS (proc);
3869 3872
3873#ifdef HAVE_GNUTLS
3874 /* Delete GnuTLS structures in PROC, if any. */
3875 emacs_gnutls_deinit (proc);
3876#endif /* HAVE_GNUTLS */
3877
3870 inchannel = p->infd; 3878 inchannel = p->infd;
3871 outchannel = p->outfd; 3879 outchannel = p->outfd;
3872 3880