From 4297a298507e9d0e056d9aff8b56cdba58c083a7 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 15 Apr 2018 01:32:56 +0200 Subject: OPIE: Fix indentation to silence GCC warnings. --- opie.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'opie.c') 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; -- cgit v1.2.3