diff options
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -45,7 +45,7 @@ | |||
45 | */ | 45 | */ |
46 | 46 | ||
47 | #include "includes.h" | 47 | #include "includes.h" |
48 | RCSID("$Id: scp.c,v 1.10 1999/11/25 00:54:59 damien Exp $"); | 48 | RCSID("$Id: scp.c,v 1.11 1999/11/25 01:31:26 damien Exp $"); |
49 | 49 | ||
50 | #include "ssh.h" | 50 | #include "ssh.h" |
51 | #include "xmalloc.h" | 51 | #include "xmalloc.h" |
@@ -78,7 +78,7 @@ char *curfile; | |||
78 | int verbose_mode = 0; | 78 | int verbose_mode = 0; |
79 | 79 | ||
80 | /* This is set to non-zero if compression is desired. */ | 80 | /* This is set to non-zero if compression is desired. */ |
81 | int compress = 0; | 81 | int compress_flag = 0; |
82 | 82 | ||
83 | /* This is set to zero if the progressmeter is not desired. */ | 83 | /* This is set to zero if the progressmeter is not desired. */ |
84 | int showprogress = 1; | 84 | int showprogress = 1; |
@@ -147,7 +147,7 @@ do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout) | |||
147 | args[i++] = "-oFallBackToRsh no"; | 147 | args[i++] = "-oFallBackToRsh no"; |
148 | if (verbose_mode) | 148 | if (verbose_mode) |
149 | args[i++] = "-v"; | 149 | args[i++] = "-v"; |
150 | if (compress) | 150 | if (compress_flag) |
151 | args[i++] = "-C"; | 151 | args[i++] = "-C"; |
152 | if (batchmode) | 152 | if (batchmode) |
153 | args[i++] = "-oBatchMode yes"; | 153 | args[i++] = "-oBatchMode yes"; |
@@ -279,7 +279,7 @@ main(argc, argv) | |||
279 | batchmode = 1; | 279 | batchmode = 1; |
280 | break; | 280 | break; |
281 | case 'C': | 281 | case 'C': |
282 | compress = 1; | 282 | compress_flag = 1; |
283 | break; | 283 | break; |
284 | case 'q': | 284 | case 'q': |
285 | showprogress = 0; | 285 | showprogress = 0; |
@@ -974,7 +974,7 @@ run_err(const char *fmt,...) | |||
974 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 974 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
975 | * SUCH DAMAGE. | 975 | * SUCH DAMAGE. |
976 | * | 976 | * |
977 | * $Id: scp.c,v 1.10 1999/11/25 00:54:59 damien Exp $ | 977 | * $Id: scp.c,v 1.11 1999/11/25 01:31:26 damien Exp $ |
978 | */ | 978 | */ |
979 | 979 | ||
980 | char * | 980 | char * |