From 23e22b54ff9d2051727d4cb31a9d54f0e5afc4eb Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 14 Apr 2018 22:51:56 +0200 Subject: Fix indentation to silence GCC 8 warnings. --- smbutil.c | 14 +++++++------- smtp.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/smbutil.c b/smbutil.c index 78041ae9..d1d127fc 100644 --- a/smbutil.c +++ b/smbutil.c @@ -73,14 +73,14 @@ dumpRaw(fp,((unsigned char*)structPtr)+IVAL(&structPtr->header.offset,0),SVAL(&s static void dumpRaw(FILE *fp, unsigned char *buf, size_t len) - { - size_t i; - - for (i=0; ivalue; if (strncmp(hp->name, "AUTH ", 5) == 0) strncpy(auth_response, smtp_response, sizeof(auth_response)); - auth_response[sizeof(auth_response)-1] = '\0'; + auth_response[sizeof(auth_response)-1] = '\0'; } if ((smtp_response[0] == '1' || smtp_response[0] == '2' || smtp_response[0] == '3') && smtp_response[3] == ' ') { if (*opt & ESMTP_AUTH) -- cgit v1.2.3