Fix typo.
MFC after: 3 days
This commit is contained in:
parent
e9fcca6a8e
commit
f0dac7b3f3
@ -496,7 +496,7 @@ fmt_sockaddr(struct sockaddr *sa, struct sockaddr *mask, int flags)
|
||||
cq = buf;
|
||||
slim = sa->sa_len + (u_char *) sa;
|
||||
cqlim = cq + sizeof(buf) - sizeof(" ffff");
|
||||
snprintf(cq, sizeof(cq), "(%d)", sa->sa_family);
|
||||
snprintf(cq, sizeof(buf), "(%d)", sa->sa_family);
|
||||
cq += strlen(cq);
|
||||
while (s < slim && cq < cqlim) {
|
||||
snprintf(cq, sizeof(" ff"), " %02x", *s++);
|
||||
|
Loading…
x
Reference in New Issue
Block a user