aboutsummaryrefslogtreecommitdiffstats
path: root/opie.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-04-25 16:56:21 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-04-25 16:56:21 +0000
commit7cfdaf3256f7957cc03ab6f9fe908b5524e2b876 (patch)
tree356877da6e015fa68e1fd2cd3f6bffe2592e1ded /opie.c
parent6063a3b5bd45f8d65aaec1e01cfe40177aa79c34 (diff)
downloadfetchmail-7cfdaf3256f7957cc03ab6f9fe908b5524e2b876.tar.gz
fetchmail-7cfdaf3256f7957cc03ab6f9fe908b5524e2b876.tar.bz2
fetchmail-7cfdaf3256f7957cc03ab6f9fe908b5524e2b876.zip
Merge SuSE's fetchmail-6.2.5-random-result.patch
svn path=/trunk/; revision=4037
Diffstat (limited to 'opie.c')
-rw-r--r--opie.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/opie.c b/opie.c
index 3a23c5ef..6c2018e4 100644
--- a/opie.c
+++ b/opie.c
@@ -23,7 +23,6 @@
int do_otp(int sock, char *command, struct query *ctl)
{
int i, rval;
- int result;
char buffer[128];
char challenge[OPIE_CHALLENGE_MAX+1+8];
char response[OPIE_RESPONSE_MAX+1];
@@ -73,10 +72,7 @@ int do_otp(int sock, char *command, struct query *ctl)
if ((rval = gen_recv(sock, buffer, sizeof(buffer))))
return rval;
- if (result)
- return PS_SUCCESS;
- else
- return PS_AUTHFAIL;
+ return PS_SUCCESS;
};
#endif /* OPIE_ENABLE */