diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-27 04:51:01 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-27 04:51:01 +0000 |
commit | cdcfb1a6c7df6557818c840f6a6897059e1b539b (patch) | |
tree | 6ba5eb19e2109c0aec34ccbdcf68f11a69791128 /driver.c | |
parent | f4afe8b0b1fb6eda4684e68071d9c751b5642f38 (diff) | |
download | fetchmail-cdcfb1a6c7df6557818c840f6a6897059e1b539b.tar.gz fetchmail-cdcfb1a6c7df6557818c840f6a6897059e1b539b.tar.bz2 fetchmail-cdcfb1a6c7df6557818c840f6a6897059e1b539b.zip |
Correct the defaults logic.
svn path=/trunk/; revision=398
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 */ |