diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2012-11-18 15:57:59 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2012-11-18 15:57:59 +0000 |
commit | d9d29e0555e6a3bf33cc616693d98c982796201f (patch) | |
tree | b6d82ac0d48b3da65163fb0cb2a201f33bd9013f | |
parent | 4ea50c5f6f693efdf88c5dd1cf61c47e7878cfe6 (diff) |
More compiler quietening.
-rw-r--r-- | src/src/auths/gsasl_exim.c | 3 | ||||
-rw-r--r-- | src/src/readconf.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/src/auths/gsasl_exim.c b/src/src/auths/gsasl_exim.c index aef337c44..8f7541642 100644 --- a/src/src/auths/gsasl_exim.c +++ b/src/src/auths/gsasl_exim.c @@ -29,7 +29,8 @@ sense in all contexts. For some, we can do checks at init time. #ifndef AUTH_GSASL /* dummy function to satisfy compilers when we link in an "empty" file. */ -static void dummy(int x) { dummy(x-1); } +static void dummy2(int x) { dummy2(x-1); } +static void dummy(int x) { dummy2(x-1); } #else #include <gsasl.h> diff --git a/src/src/readconf.c b/src/src/readconf.c index 454029c8e..dbec45de3 100644 --- a/src/src/readconf.c +++ b/src/src/readconf.c @@ -1549,7 +1549,7 @@ switch (type) { uschar sep = Ustrncmp(name, "headers_add", 11)==0 ? '\n' : ':'; saved_condition = *str_target; - strtemp = saved_condition + strlen((char *)saved_condition)-1; + strtemp = saved_condition + Ustrlen(saved_condition)-1; if (*strtemp == sep) *strtemp = 0; /* eliminate trailing list-sep */ strtemp = string_sprintf("%s%c%s", saved_condition, sep, sptr); *str_target = string_copy_malloc(strtemp); |