diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2018-04-15 01:32:56 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2018-04-15 01:32:56 +0200 |
commit | 4297a298507e9d0e056d9aff8b56cdba58c083a7 (patch) | |
tree | 681e0360194d5e9dd1deed4c7a80d82eaa027c0a | |
parent | fb5ae14de0ee3533c6ddde68273e6ded9ccfe725 (diff) | |
download | fetchmail-4297a298507e9d0e056d9aff8b56cdba58c083a7.tar.gz fetchmail-4297a298507e9d0e056d9aff8b56cdba58c083a7.tar.bz2 fetchmail-4297a298507e9d0e056d9aff8b56cdba58c083a7.zip |
OPIE: Fix indentation to silence GCC warnings.
-rw-r--r-- | opie.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |