mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix format specifier (ITS#6644)
This commit is contained in:
parent
afe2764a03
commit
4601107e4e
@ -289,7 +289,7 @@ int ldap_domain2hostlist(
|
||||
/* not first time around */
|
||||
hostlist[cur++] = ' ';
|
||||
}
|
||||
cur += sprintf(&hostlist[cur], "%s:%hd", host, port);
|
||||
cur += sprintf(&hostlist[cur], "%s:%hu", host, port);
|
||||
}
|
||||
add_size:;
|
||||
p += size;
|
||||
|
Loading…
Reference in New Issue
Block a user