changeset 672:6c35ff40e496

Ignore -q if SCP_PROGRESS isn't set
author Matt Johnston <matt@ucc.asn.au>
date Tue, 24 Apr 2012 22:05:55 +0800
parents 675bbd630f5d
children c519b78b6d1a
files scp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scp.c	Thu Apr 12 22:04:16 2012 +0800
+++ b/scp.c	Tue Apr 24 22:05:55 2012 +0800
@@ -365,12 +365,12 @@
 			addargs(&args, "-v");
 			verbose_mode = 1;
 			break;
+		case 'q':
 #ifdef PROGRESS_METER
-		case 'q':
 			addargs(&args, "-q");
 			showprogress = 0;
+#endif
 			break;
-#endif
 
 		/* Server options. */
 		case 'd':