Skip to content
Snippets Groups Projects
Commit b0cd9647 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

oops 5 bytes makes 4 letters plus zero byte

parent 387ec712
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,7 @@ static const char *inet_ntop6 (const u_char *src, char *dst, size_t size)
tp += strlen(tp);
break;
}
tp += snprintf(tp, 4, "%lx", words[i]);
tp += snprintf(tp, 5, "%lx", words[i]);
}
/* Was it a trailing run of 0x00's?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment