aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2018-04-15 01:32:56 +0200
committerMatthias Andree <matthias.andree@gmx.de>2018-04-15 01:32:56 +0200
commit4297a298507e9d0e056d9aff8b56cdba58c083a7 (patch)
tree681e0360194d5e9dd1deed4c7a80d82eaa027c0a
parentfb5ae14de0ee3533c6ddde68273e6ded9ccfe725 (diff)
downloadfetchmail-4297a298507e9d0e056d9aff8b56cdba58c083a7.tar.gz
fetchmail-4297a298507e9d0e056d9aff8b56cdba58c083a7.tar.bz2
fetchmail-4297a298507e9d0e056d9aff8b56cdba58c083a7.zip
OPIE: Fix indentation to silence GCC warnings.
-rw-r--r--opie.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/opie.c b/opie.c
index 90be8035..c186908f 100644
--- a/opie.c
+++ b/opie.c
@@ -38,10 +38,10 @@ int do_otp(int sock, const char *command, struct query *ctl)
if ((rval = gen_recv(sock, buffer, sizeof(buffer))))
return rval;
- if (strncmp(buffer, "+", 1)) {
+ if (strncmp(buffer, "+", 1)) {
report(stderr, GT_("server recv fatal\n"));
return PS_AUTHFAIL;
- }
+ }
to64frombits(buffer, ctl->remotename, strlen(ctl->remotename), sizeof buffer);
suppress_tags = TRUE;
@@ -51,7 +51,7 @@ int do_otp(int sock, const char *command, struct query *ctl)
if ((rval = gen_recv(sock, buffer, sizeof(buffer))))
return rval;
- memset(challenge, '\0', sizeof(challenge));
+ memset(challenge, '\0', sizeof(challenge));
if ((i = from64tobits(challenge, buffer+2, sizeof(challenge))) < 0) {
report(stderr, GT_("Could not decode OTP challenge\n"));
return PS_AUTHFAIL;