summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/stringx.c2
-rw-r--r--src/util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/stringx.c b/common/stringx.c
index 7ee85ae..f4d9910 100644
--- a/common/stringx.c
+++ b/common/stringx.c
@@ -90,7 +90,7 @@ static void vmessage(clamsmtp_context_t* ctx, int level, int err,
if(err)
{
/* TODO: strerror_r doesn't want to work for us
- strerror(e, m + strlen(m), MAX_MSGLEN); */
+ strerror_r(e, m + strlen(m), MAX_MSGLEN); */
strncat(m, strerror(e), len);
}
diff --git a/src/util.c b/src/util.c
index 7ee85ae..f4d9910 100644
--- a/src/util.c
+++ b/src/util.c
@@ -90,7 +90,7 @@ static void vmessage(clamsmtp_context_t* ctx, int level, int err,
if(err)
{
/* TODO: strerror_r doesn't want to work for us
- strerror(e, m + strlen(m), MAX_MSGLEN); */
+ strerror_r(e, m + strlen(m), MAX_MSGLEN); */
strncat(m, strerror(e), len);
}