oops 5 bytes makes 4 letters plus zero byte
This commit is contained in:
parent
387ec712e6
commit
b0cd96478c
@ -155,7 +155,7 @@ static const char *inet_ntop6 (const u_char *src, char *dst, size_t size)
|
|||||||
tp += strlen(tp);
|
tp += strlen(tp);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
tp += snprintf(tp, 4, "%lx", words[i]);
|
tp += snprintf(tp, 5, "%lx", words[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Was it a trailing run of 0x00's?
|
/* Was it a trailing run of 0x00's?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user