diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index b6721ada607..10c79ab14a3 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3104,6 +3104,9 @@ void connect_network_socket (Lisp_Object proc, Lisp_Object ip_addresses) | |||
| 3104 | Lisp_Object service; | 3104 | Lisp_Object service; |
| 3105 | service = make_number (ntohs (sa1.sin_port)); | 3105 | service = make_number (ntohs (sa1.sin_port)); |
| 3106 | contact = Fplist_put (contact, QCservice, service); | 3106 | contact = Fplist_put (contact, QCservice, service); |
| 3107 | // Save the port number so that we can stash it in | ||
| 3108 | // the process object later. | ||
| 3109 | ((struct sockaddr_in *)sa)->sin_port = sa1.sin_port; | ||
| 3107 | } | 3110 | } |
| 3108 | } | 3111 | } |
| 3109 | #endif | 3112 | #endif |