isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 5c08b1c4bddbe18a722dc2338fc0021465f50c2b
parent 0527181f45c8e74c2f6dcdb515ce348b76b8e44b
Author: Michael Elkins <me@mutt.org>
Date:   Fri, 22 Dec 2000 15:24:55 +0000

set default MaxSize to 0 (unlimited)

invert test for password being set after getpass() call (Magnus Jonsson
<bigfoot@acc.umu.se>)

Diffstat:
Mmain.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c @@ -293,7 +293,7 @@ main (int argc, char **argv) global.port = 143; global.box = "INBOX"; global.user = strdup (pw->pw_name); - global.max_size = 100000; + global.max_size = 0; #if HAVE_LIBSSL /* this will probably annoy people, but its the best default just in * case people forget to turn it on @@ -373,7 +373,7 @@ main (int argc, char **argv) { char *pass = getpass ("Password:"); - if (pass) + if (!pass) { puts ("Aborting, no password"); exit (1);