mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
channels: Replace PRIdS with ANSI C99 %zu
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -544,7 +544,7 @@ SSH_PACKET_CALLBACK(channel_rcv_data){
|
|||||||
len = ssh_string_len(str);
|
len = ssh_string_len(str);
|
||||||
|
|
||||||
SSH_LOG(SSH_LOG_PACKET,
|
SSH_LOG(SSH_LOG_PACKET,
|
||||||
"Channel receiving %" PRIdS " bytes data in %d (local win=%d remote win=%d)",
|
"Channel receiving %zu bytes data in %d (local win=%d remote win=%d)",
|
||||||
len,
|
len,
|
||||||
is_stderr,
|
is_stderr,
|
||||||
channel->local_window,
|
channel->local_window,
|
||||||
@@ -553,7 +553,7 @@ SSH_PACKET_CALLBACK(channel_rcv_data){
|
|||||||
/* What shall we do in this case? Let's accept it anyway */
|
/* What shall we do in this case? Let's accept it anyway */
|
||||||
if (len > channel->local_window) {
|
if (len > channel->local_window) {
|
||||||
SSH_LOG(SSH_LOG_RARE,
|
SSH_LOG(SSH_LOG_RARE,
|
||||||
"Data packet too big for our window(%" PRIdS " vs %d)",
|
"Data packet too big for our window(%zu vs %d)",
|
||||||
len,
|
len,
|
||||||
channel->local_window);
|
channel->local_window);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user