aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-02 14:34:19 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-02 14:34:19 +0000
commit4470544a748adb7f0e2fcad647b8961f8d524182 (patch)
treeb133b38eefa3d1fbfad18cbf2d7596180cd48642 /driver.c
parenta2eaeaa297462b918babd71c75eb6948e335c173 (diff)
downloadfetchmail-4470544a748adb7f0e2fcad647b8961f8d524182.tar.gz
fetchmail-4470544a748adb7f0e2fcad647b8961f8d524182.tar.bz2
fetchmail-4470544a748adb7f0e2fcad647b8961f8d524182.zip
Reverse order of arguments in OK method.
svn path=/trunk/; revision=201
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/driver.c b/driver.c
index c5ee171d..8f9a8f04 100644
--- a/driver.c
+++ b/driver.c
@@ -523,7 +523,7 @@ struct method *proto;
}
/* accept greeting message from mail server */
- ok = (protocol->parse_response)(buf, socket);
+ ok = (protocol->parse_response)(socket, buf);
if (ok != 0)
goto cleanUp;
@@ -535,7 +535,7 @@ struct method *proto;
goto cleanUp;
/* compute count, and get UID list if possible */
- if ((*protocol->getrange)(socket, queryctl, &count) != 0)
+ if ((protocol->getrange)(socket, queryctl, &count) != 0)
goto cleanUp;
/* show user how many messages we downloaded */
@@ -572,14 +572,14 @@ struct method *proto;
for (num = 1; num <= count; num++)
{
int treat_as_new =
- !*protocol->is_old
- || !(*protocol->is_old)(socket, queryctl, num);
+ !protocol->is_old
+ || !(protocol->is_old)(socket, queryctl, num);
/* we may want to reject this message if it's old */
if (treat_as_new || queryctl->fetchall)
{
/* request a message */
- (*protocol->fetch)(socket, num, &len);
+ (protocol->fetch)(socket, num, &len);
if (outlevel == O_VERBOSE)
if (protocol->delimited)
fprintf(stderr,
@@ -601,7 +601,7 @@ struct method *proto;
/* tell the server we got it OK and resynchronize */
if (protocol->trail)
- (*protocol->trail)(socket, queryctl, num);
+ (protocol->trail)(socket, queryctl, num);
if (ok != 0)
goto cleanUp;
}
@@ -742,7 +742,7 @@ va_dcl {
fprintf(stderr,"> %s\n", buf);
/* we presume this does its own response echoing */
- ok = (protocol->parse_response)(buf,socket);
+ ok = (protocol->parse_response)(socket, buf);
return(ok);
}