X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/4687a69c269ee3f2a7f0625e0147a503fd9d3d0b..3f77bd134b64c532748b83c3931df07058268b5e:/src/src/functions.h diff --git a/src/src/functions.h b/src/src/functions.h index 0e657d7c4..d811c62a3 100644 --- a/src/src/functions.h +++ b/src/src/functions.h @@ -767,6 +767,12 @@ Return the next char as there's enough places using it to be useful. */ static inline uschar skip_whitespace(const uschar ** sp) { while (isspace(**sp)) (*sp)++; return **sp; } +/* Ditto, non-whitespace */ + +#define Uskip_nonwhite(sp) skip_nonwhite(CUSS sp) +static inline uschar skip_nonwhite(const uschar ** sp) +{ while (**sp && !isspace(**sp)) (*sp)++; return **sp; } + /******************************************************************************/