CLEANUP: check: server port is unsigned

Baptiste Assmann reported some confusing printf() output of the server
port since it's declared signed. Better turn it to unsigned.

There's no need to backport this, it's only used in 16-bit places.
This commit is contained in:
Willy Tarreau 2013-12-10 23:32:30 +01:00
parent 82de2b644e
commit 9ba813cd69
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ struct tree_occ {
struct check {
struct connection *conn; /* connection state for health checks */
short port; /* the port to use for the health checks */
unsigned short port; /* the port to use for the health checks */
struct buffer *bi, *bo; /* input and output buffers to send/recv check */
struct task *task; /* the task associated to the health check processing, NULL if disabled */
struct timeval start; /* last health check start time */