mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-05 20:55:46 +03:00
example: Fixed gcc warning.
This commit is contained in:
@@ -41,7 +41,7 @@ int main(void) {
|
|||||||
while ((rc = ssh_channel_write(channel, buffer, sizeof(buffer))) > 0) {
|
while ((rc = ssh_channel_write(channel, buffer, sizeof(buffer))) > 0) {
|
||||||
total += rc;
|
total += rc;
|
||||||
if(total/2 >= lastshown){
|
if(total/2 >= lastshown){
|
||||||
printf("written %llx\n",total);
|
printf("written %llx\n", (long long unsigned int) total);
|
||||||
lastshown=total;
|
lastshown=total;
|
||||||
}
|
}
|
||||||
if(total > LIMIT)
|
if(total > LIMIT)
|
||||||
|
Reference in New Issue
Block a user