From cdcfb1a6c7df6557818c840f6a6897059e1b539b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 27 Oct 1996 04:51:01 +0000 Subject: Correct the defaults logic. svn path=/trunk/; revision=398 --- driver.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 32f8c6fc..ecdff84d 100644 --- a/driver.c +++ b/driver.c @@ -555,10 +555,11 @@ struct query *ctl; /* query control record */ } /* if nothing supplied localnames, default appropriately */ - if (getuid() == 0) - save_uid(&xmit_names, -1, ctl->remotename); - else - save_uid(&xmit_names, -1, user); + if (!xmit_names) + if (getuid() == 0) + save_uid(&xmit_names, -1, ctl->remotename); + else + save_uid(&xmit_names, -1, user); /* time to address the message */ if (ctl->mda[0]) /* we have a declared MDA */ -- cgit v1.2.3