diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-09-07 21:28:59 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-09-07 21:28:59 +0200 |
commit | 26cdc783c935a2a9b41af0083dcafe401589d41e (patch) | |
tree | 9fb5de793445c46829d36e6e78235cc22edb17d0 /src | |
parent | 69a0fdd630b13d8864d7dfe494205139d5ecb079 (diff) | |
download | cssh-26cdc783c935a2a9b41af0083dcafe401589d41e.tar.gz cssh-26cdc783c935a2a9b41af0083dcafe401589d41e.tar.bz2 |
a first playing around with ANSI on bash
Diffstat (limited to 'src')
-rw-r--r-- | src/cssh.c | 2 | ||||
-rw-r--r-- | src/progressbar.c | 4 | ||||
-rw-r--r-- | src/progressbar.h | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -1355,7 +1355,7 @@ int main( int argc, char *argv[] ) scp_data[i].fd = 0; free( scp_data[i].filename ); scp_data[i].filename = NULL; - remvove_progressbar_from_pool( &progressbars, &scp_data[i].progressbar ); + remove_progressbar_from_pool( &progressbars, &scp_data[i].progressbar ); free_progressbar( &scp_data[i].progressbar ); } break; diff --git a/src/progressbar.c b/src/progressbar.c index f8a4121..3d07e4e 100644 --- a/src/progressbar.c +++ b/src/progressbar.c @@ -32,7 +32,7 @@ void free_progressbar( cssh_progressbar_t *progressbar ) void set_value_of_progressbar( cssh_progressbar_t *progressbar, uint64_t value ) { - fprintf( stderr, "%s %"PRIu64"\n", progressbar->label, value ); + fprintf( stderr, "%s %"PRIu64" \n", progressbar->label, value ); } int create_progressbar_pool( cssh_progressbar_pool_t *pool, size_t initial_size ) @@ -68,7 +68,7 @@ int append_progressbar_to_pool( cssh_progressbar_pool_t *pool, cssh_progressbar_ return 0; } -int remvove_progressbar_from_pool( cssh_progressbar_pool_t *pool, cssh_progressbar_t *progressbar ) +int remove_progressbar_from_pool( cssh_progressbar_pool_t *pool, cssh_progressbar_t *progressbar ) { if( pool->N == 0 ) { return -1; diff --git a/src/progressbar.h b/src/progressbar.h index 70e93f8..71eaed1 100644 --- a/src/progressbar.h +++ b/src/progressbar.h @@ -32,6 +32,6 @@ void free_progressbar_pool( cssh_progressbar_pool_t *pool ); int append_progressbar_to_pool( cssh_progressbar_pool_t *pool, cssh_progressbar_t *progressbar ); -int remvove_progressbar_from_pool( cssh_progressbar_pool_t *pool, cssh_progressbar_t *progressbar ); +int remove_progressbar_from_pool( cssh_progressbar_pool_t *pool, cssh_progressbar_t *progressbar ); #endif |