diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-07-28 21:16:44 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-07-28 21:16:44 +0000 |
commit | 7559f26bfb8a2cfe0763333fdc352d53caedd7ba (patch) | |
tree | 4879dc63fdb36a0eba4e7e99ac7236836f8abbae | |
parent | 9285cfa1bbd2dc64b387aa56a401d3175660a801 (diff) |
Reverted useless check.
-rw-r--r-- | src/htssafe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htssafe.h b/src/htssafe.h index 3451d26..9de63a3 100644 --- a/src/htssafe.h +++ b/src/htssafe.h @@ -130,7 +130,7 @@ static HTS_UNUSED void htssafe_compile_time_check_(void) { */ #define strncatbuff(A, B, N) \ ( HTS_IS_NOT_CHAR_BUFFER(A) \ - ? ( (N) != (size_t) -1 ? strncat(A, B, N) : strcat(A, B) ) \ + ? strncat(A, B, N) \ : strncat_safe_(A, sizeof(A), B, \ HTS_IS_NOT_CHAR_BUFFER(B) ? (size_t) -1 : sizeof(B), N, \ "overflow while appending '" #B "' to '"#A"'", __FILE__, __LINE__) ) |