diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index f1c066f4671..77837834916 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3004,8 +3004,6 @@ void set_network_socket_coding_system (Lisp_Object proc) | |||
| 3004 | } | 3004 | } |
| 3005 | pset_encode_coding_system (p, val); | 3005 | pset_encode_coding_system (p, val); |
| 3006 | 3006 | ||
| 3007 | setup_process_coding_systems (proc); | ||
| 3008 | |||
| 3009 | pset_decoding_buf (p, empty_unibyte_string); | 3007 | pset_decoding_buf (p, empty_unibyte_string); |
| 3010 | p->decoding_carryover = 0; | 3008 | p->decoding_carryover = 0; |
| 3011 | pset_encoding_buf (p, empty_unibyte_string); | 3009 | pset_encoding_buf (p, empty_unibyte_string); |
| @@ -3321,7 +3319,7 @@ void connect_network_socket (Lisp_Object proc, Lisp_Object ip_addresses) | |||
| 3321 | if (inch > max_process_desc) | 3319 | if (inch > max_process_desc) |
| 3322 | max_process_desc = inch; | 3320 | max_process_desc = inch; |
| 3323 | 3321 | ||
| 3324 | set_network_socket_coding_system (proc); | 3322 | setup_process_coding_systems (proc); |
| 3325 | 3323 | ||
| 3326 | #ifdef HAVE_GNUTLS | 3324 | #ifdef HAVE_GNUTLS |
| 3327 | /* Continue the asynchronous connection. */ | 3325 | /* Continue the asynchronous connection. */ |
| @@ -3897,6 +3895,8 @@ usage: (make-network-process &rest ARGS) */) | |||
| 3897 | p->gnutls_boot_parameters = tem; | 3895 | p->gnutls_boot_parameters = tem; |
| 3898 | #endif | 3896 | #endif |
| 3899 | 3897 | ||
| 3898 | set_network_socket_coding_system (proc); | ||
| 3899 | |||
| 3900 | unbind_to (count, Qnil); | 3900 | unbind_to (count, Qnil); |
| 3901 | 3901 | ||
| 3902 | /* :server BOOL */ | 3902 | /* :server BOOL */ |