Cygwin: fix formatting: drop spaces leading tabs
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -212,7 +212,7 @@ b64_pton(char const *src, unsigned char *target, size_t targsize)
|
||||
break;
|
||||
|
||||
pos = strchr(Base64, ch);
|
||||
if (pos == 0) /* A non-base64 character. */
|
||||
if (pos == 0) /* A non-base64 character. */
|
||||
return (-1);
|
||||
|
||||
switch (state) {
|
||||
|
@ -75,7 +75,7 @@ char *optarg; /* argument associated with option */
|
||||
/* return values */
|
||||
#define BADCH (int)'?'
|
||||
#define BADARG ((*options == ':') ? (int)':' : (int)'?')
|
||||
#define INORDER (int)1
|
||||
#define INORDER (int)1
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
static char EMSG[] = "";
|
||||
|
@ -97,7 +97,7 @@ extern "C" {
|
||||
int cygwin_getaddrinfo (const char *, const char *, const struct addrinfo *,
|
||||
struct addrinfo **);
|
||||
int cygwin_getnameinfo (const struct sockaddr *, socklen_t, char *, size_t,
|
||||
char *, size_t, int);
|
||||
char *, size_t, int);
|
||||
struct servent *cygwin_getservbyname (const char *, const char *);
|
||||
int cygwin_listen (int, int);
|
||||
int cygwin_rresvport_af(int *alport, int family);
|
||||
@ -693,7 +693,7 @@ __ivaliduser_sa(FILE *hostf, const struct sockaddr *raddr, socklen_t salen,
|
||||
else /* match a user by direct specification */
|
||||
userok = !(strcmp(ruser, user+1));
|
||||
break;
|
||||
case '-': /* if we matched a hostname, */
|
||||
case '-': /* if we matched a hostname, */
|
||||
if (hostok) { /* check for user field rejections */
|
||||
if (!*(user+1))
|
||||
return(-1);
|
||||
|
@ -66,7 +66,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
/* internal macros */
|
||||
#define PRINT(CH) do { \
|
||||
if (dst >= s + maxsize) \
|
||||
if (dst >= s + maxsize) \
|
||||
goto e2big_error; \
|
||||
*dst++ = CH; \
|
||||
} while (0)
|
||||
@ -111,9 +111,9 @@ static ssize_t
|
||||
vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc,
|
||||
const char * __restrict format, va_list ap)
|
||||
{
|
||||
char *dst; /* output destination pointer */
|
||||
const char *fmt; /* current format poistion pointer */
|
||||
struct lconv *lc; /* pointer to lconv structure */
|
||||
char *dst; /* output destination pointer */
|
||||
const char *fmt; /* current format poistion pointer */
|
||||
struct lconv *lc; /* pointer to lconv structure */
|
||||
char *asciivalue; /* formatted double pointer */
|
||||
|
||||
int flags; /* formatting options */
|
||||
|
@ -703,8 +703,8 @@ literal:
|
||||
const unsigned char *ep;
|
||||
|
||||
ep = find_string(bp, &i,
|
||||
(const char * const *)tzname,
|
||||
NULL, 2, locale);
|
||||
(const char * const *)tzname,
|
||||
NULL, 2, locale);
|
||||
if (ep != NULL) {
|
||||
tm->tm_isdst = i;
|
||||
#ifdef TM_GMTOFF
|
||||
@ -750,7 +750,7 @@ literal:
|
||||
/* Check if year falls into the era. If not, it's an
|
||||
invalid combination of era and offset. */
|
||||
if (era->start.tm_year > tm->tm_year
|
||||
|| era->end.tm_year < tm->tm_year)
|
||||
|| era->end.tm_year < tm->tm_year)
|
||||
return NULL;
|
||||
tm->tm_year -= TM_YEAR_BASE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user