Fix GC problem in async TLS connection

* process.h: All Lisp_Object slots have to come first,
otherwise they won't be protected from gc.
This commit is contained in:
Lars Ingebrigtsen 2016-02-01 01:10:57 +01:00
parent 4ff81f8fac
commit 8858b2ce88

View file

@ -106,6 +106,7 @@ struct Lisp_Process
#ifdef HAVE_GNUTLS
Lisp_Object gnutls_cred_type;
Lisp_Object gnutls_async_parameters;
#endif
/* Pipe process attached to the standard error of this process. */
@ -191,7 +192,6 @@ struct Lisp_Process
unsigned int gnutls_extra_peer_verification;
int gnutls_log_level;
int gnutls_handshakes_tried;
Lisp_Object gnutls_async_parameters;
bool_bf gnutls_p : 1;
#endif
};