summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 3e66949b690..eed875db70b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3652,7 +3652,7 @@ usage: (make-network-process &rest ARGS) */)
/* :local ADDRESS or :remote ADDRESS */
tem = Fplist_get (contact, QCserver);
- if (!NILP (tem))
+ if (NILP (tem))
address = Fplist_get (contact, QCremote);
else
address = Fplist_get (contact, QClocal);