Mercurial > dropbear
comparison scp.c @ 1265:81ae6ed4e2f4
use #ifdef like everywhere
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Thu, 31 Dec 2015 17:22:58 +0100 |
parents | 52a456a3add0 |
children | bdc28287f077 |
comparison
equal
deleted
inserted
replaced
1263:c792271027eb | 1265:81ae6ed4e2f4 |
---|---|
670 (void) close(fd); | 670 (void) close(fd); |
671 fd = -1; | 671 fd = -1; |
672 } | 672 } |
673 continue; | 673 continue; |
674 } | 674 } |
675 #if PROGRESS_METER | 675 #ifdef PROGRESS_METER |
676 if (showprogress) | 676 if (showprogress) |
677 start_progress_meter(curfile, stb.st_size, &statbytes); | 677 start_progress_meter(curfile, stb.st_size, &statbytes); |
678 #endif | 678 #endif |
679 /* Keep writing after an error so that we stay sync'd up. */ | 679 /* Keep writing after an error so that we stay sync'd up. */ |
680 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) { | 680 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) { |