diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-04-16 18:18:19 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-04-16 18:18:19 +0000 |
commit | b0ff20aff417c24ad990cf1b4901990f1665ceb9 (patch) | |
tree | 18d44deebd4429b22e1d3f0fc68ce21947e4e3e5 /driver.c | |
parent | f2eff57a03361f7f690cebf620b1632736603369 (diff) | |
download | fetchmail-b0ff20aff417c24ad990cf1b4901990f1665ceb9.tar.gz fetchmail-b0ff20aff417c24ad990cf1b4901990f1665ceb9.tar.bz2 fetchmail-b0ff20aff417c24ad990cf1b4901990f1665ceb9.zip |
Correct return status,
svn path=/trunk/; revision=958
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1492,7 +1492,7 @@ const struct method *proto; /* protocol method table */ ok = gen_transact(sockfp, protocol->exit_cmd); if (ok == 0) - ok = PS_SUCCESS; + ok = (fetches > 0) ? PS_SUCCESS : PS_NOMAIL; set_timeout(0); fclose(sockfp); goto closeUp; |