emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 5cc7c4b: Fix previous make-network-process change


From: Noam Postavsky
Subject: [Emacs-diffs] emacs-26 5cc7c4b: Fix previous make-network-process change
Date: Thu, 12 Jul 2018 19:48:23 -0400 (EDT)

branch: emacs-26
commit 5cc7c4b48a2d6eca5d14d12b1cd258bf9cabde74
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Fix previous make-network-process change
    
    * src/process.c (Fmake_network_process): On 2018-07-09 "Explicitly
    reject :server and :nowait (Bug#31903)", the sense of the SERVER check
    was accidentally reversed so that we ended up looking for the wrong
    ADDRESS.  Reported by T.V Raman in
    <https://lists.gnu.org/archive/html/emacs-devel/2018-07/msg00437.html>.
---
 src/process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/process.c b/src/process.c
index 4d7a735..f7b96d2 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3898,7 +3898,7 @@ usage: (make-network-process &rest ARGS)  */)
   CHECK_STRING (name);
 
   /* :local ADDRESS or :remote ADDRESS */
-  if (!NILP (server))
+  if (NILP (server))
     address = Fplist_get (contact, QCremote);
   else
     address = Fplist_get (contact, QClocal);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]