fix format specifier (ITS#6644)

This commit is contained in:
Pierangelo Masarati 2010-09-09 16:05:26 +00:00
parent afe2764a03
commit 4601107e4e

View File

@ -289,7 +289,7 @@ int ldap_domain2hostlist(
/* not first time around */ /* not first time around */
hostlist[cur++] = ' '; hostlist[cur++] = ' ';
} }
cur += sprintf(&hostlist[cur], "%s:%hd", host, port); cur += sprintf(&hostlist[cur], "%s:%hu", host, port);
} }
add_size:; add_size:;
p += size; p += size;