Commit 70676a01 authored by Ray Bellis's avatar Ray Bellis
Browse files

fixed new warning with previous iOS patch

parent 03a4e438
......@@ -446,7 +446,7 @@ hex_dump(isc_buffer_t *b) {
*/
static isc_result_t
append(const char *text, size_t len, char **p, char *end) {
if (len > end - *p)
if (*p + len > end)
return (ISC_R_NOSPACE);
memmove(*p, text, len);
*p += len;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment