diff options
| author | Matthias Andree <matthias.andree@gmx.de> | 2018-04-14 22:51:56 +0200 | 
|---|---|---|
| committer | Matthias Andree <matthias.andree@gmx.de> | 2018-04-14 22:51:56 +0200 | 
| commit | 23e22b54ff9d2051727d4cb31a9d54f0e5afc4eb (patch) | |
| tree | 3b43e13d5c43ea8d1c402a97b8b3853aa59db18e | |
| parent | 9deaf399553050b3b426e8a39d0ffd22430bf72d (diff) | |
| download | fetchmail-23e22b54ff9d2051727d4cb31a9d54f0e5afc4eb.tar.gz fetchmail-23e22b54ff9d2051727d4cb31a9d54f0e5afc4eb.tar.bz2 fetchmail-23e22b54ff9d2051727d4cb31a9d54f0e5afc4eb.zip | |
Fix indentation to silence GCC 8 warnings.
| -rw-r--r-- | smbutil.c | 14 | ||||
| -rw-r--r-- | smtp.c | 2 | 
2 files changed, 8 insertions, 8 deletions
| @@ -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; i<len; ++i) -    fprintf(fp,"%02x ",buf[i]); -     +{ +    size_t i; + +    for (i=0; i<len; ++i) +	fprintf(fp,"%02x ",buf[i]); +      fprintf(fp,"\n"); -  } +}  /* helper macro to destructively resize buffers; assumes that bufsiz   * is initialized to 0 if buf is unallocated! */ @@ -205,7 +205,7 @@ int SMTP_ehlo(int sock, char smtp_mode, const char *host, char *name, char *pass  	      *opt |= hp->value;  	      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) | 
