aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-02-10 01:55:52 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-02-10 01:55:52 +0100
commit56a569ff306e08ecb5f8252a865617ed7e602a6a (patch)
tree36024987ea3f32034551ce0e67fa7e42155da0a0 /sink.c
parent84508cb3ad69e1a4ae44e46eb7292ff174f49a2f (diff)
downloadfetchmail-56a569ff306e08ecb5f8252a865617ed7e602a6a.tar.gz
fetchmail-56a569ff306e08ecb5f8252a865617ed7e602a6a.tar.bz2
fetchmail-56a569ff306e08ecb5f8252a865617ed7e602a6a.zip
Refactoring: Rename smtp_open() to smtp_setup()
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sink.c b/sink.c
index 8a0561f8..c5160364 100644
--- a/sink.c
+++ b/sink.c
@@ -76,7 +76,7 @@ static void smtp_rset(struct query *ctl)
}
}
-int smtp_open(struct query *ctl)
+int smtp_setup(struct query *ctl)
/* try to open a socket to the appropriate SMTP server for this query */
{
/* maybe it's time to close the socket in order to force delivery */
@@ -1276,7 +1276,7 @@ int open_sink(struct query *ctl, struct msgblk *msg,
* open a socket fails, fall through to attempt delivery via
* local MDA.
*/
- else if (!ctl->mda && smtp_open(ctl) != -1)
+ else if (!ctl->mda && smtp_setup(ctl) != -1)
return(open_smtp_sink(ctl, msg, good_addresses, bad_addresses));
/*