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:
parent
82de2b644e
commit
9ba813cd69
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue