BUILD: checks: remove the last strcat and eliminate a warning on OpenBSD
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Aug 2016 17:29:09 +0000 (19:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Aug 2016 17:32:39 +0000 (19:32 +0200)
commit64345aaaf0dc2739983902cce4667089ad926a49
treecccf6216b0d0f5b8bb66ac4c967226d178fbb476
parentd2629f293e43994dc96d36369dbc86131bd61243
BUILD: checks: remove the last strcat and eliminate a warning on OpenBSD

OpenBSD emits warnings on usages of strcpy, strcat and sprintf (and
probably a few others). Here we have a single such warning in all the code
reintroduced by commit 0ba0e4a ("MEDIUM: Support sending email alerts") in
1.6-dev1. Let's get rid of it, the open-coding of strcat is as small as its
usage and the the result is even more efficient.

This fix needs to be backported to 1.6.
src/checks.c