@@ -506,7 +506,7 @@ static void s_server_bootstrap_on_accept_channel_setup(
506
506
if (put_err ) {
507
507
AWS_LOGF_ERROR (
508
508
AWS_LS_HTTP_SERVER ,
509
- "%p: %s:%d : Failed to store connection object, error %d (%s)." ,
509
+ "%p: %s:%u : Failed to store connection object, error %d (%s)." ,
510
510
(void * )server ,
511
511
server -> socket -> local_endpoint .address ,
512
512
server -> socket -> local_endpoint .port ,
@@ -519,7 +519,7 @@ static void s_server_bootstrap_on_accept_channel_setup(
519
519
/* Tell user of successful connection. */
520
520
AWS_LOGF_INFO (
521
521
AWS_LS_HTTP_CONNECTION ,
522
- "id=%p: " PRInSTR " server connection established at %p %s:%d ." ,
522
+ "id=%p: " PRInSTR " server connection established at %p %s:%u ." ,
523
523
(void * )connection ,
524
524
AWS_BYTE_CURSOR_PRI (aws_http_version_to_str (connection -> http_version )),
525
525
(void * )server ,
@@ -701,7 +701,7 @@ struct aws_http_server *aws_http_server_new(const struct aws_http_server_options
701
701
702
702
AWS_LOGF_INFO (
703
703
AWS_LS_HTTP_SERVER ,
704
- "%p %s:%d : Server setup complete, listening for incoming connections." ,
704
+ "%p %s:%u : Server setup complete, listening for incoming connections." ,
705
705
(void * )server ,
706
706
server -> socket -> local_endpoint .address ,
707
707
server -> socket -> local_endpoint .port );
@@ -751,7 +751,7 @@ void aws_http_server_release(struct aws_http_server *server) {
751
751
* s_server_bootstrap_on_server_listener_destroy will be invoked, clean up of the server will be there */
752
752
AWS_LOGF_INFO (
753
753
AWS_LS_HTTP_SERVER ,
754
- "%p %s:%d : Shutting down the server." ,
754
+ "%p %s:%u : Shutting down the server." ,
755
755
(void * )server ,
756
756
server -> socket -> local_endpoint .address ,
757
757
server -> socket -> local_endpoint .port );
@@ -1099,9 +1099,9 @@ int aws_http_client_connect_internal(
1099
1099
1100
1100
AWS_LOGF_TRACE (
1101
1101
AWS_LS_HTTP_CONNECTION ,
1102
- "static: attempting to initialize a new client channel to %s:%d " ,
1102
+ "static: attempting to initialize a new client channel to %s:%u " ,
1103
1103
aws_string_c_str (host_name ),
1104
- ( int ) options .port );
1104
+ options .port );
1105
1105
1106
1106
struct aws_socket_channel_bootstrap_options channel_options = {
1107
1107
.bootstrap = options .bootstrap ,
0 commit comments