diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-04-25 16:56:21 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-04-25 16:56:21 +0000 |
commit | 7cfdaf3256f7957cc03ab6f9fe908b5524e2b876 (patch) | |
tree | 356877da6e015fa68e1fd2cd3f6bffe2592e1ded | |
parent | 6063a3b5bd45f8d65aaec1e01cfe40177aa79c34 (diff) | |
download | fetchmail-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
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | opie.c | 6 |
2 files changed, 3 insertions, 6 deletions
@@ -58,8 +58,9 @@ * Split information on fetchmail versions before 6.0.0 to a separate OLDNEWS file. (Matthias Andree) * Merge SuSE patches: (sent by Stanislav Brabec, merged by Matthias Andree) - - fetchmail-6.2.5-declaration.patch (double sigint_handler decl) + - fetchmail-6.2.5-declaration.patch (double sigint_handler decl/getpass.c) - fetchmail-6.2.5-implicit-declaration.patch (missing #include) + - fetchmail-6.2.5-random-result.patch (uninitialized variable/opie.c) fetchmail-6.2.5 (Wed Oct 15 18:39:22 EDT 2003), 23079 lines: @@ -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 */ |