mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
Remove some debugging code
This commit is contained in:
parent
18310f1ce3
commit
729216cb11
@ -57,7 +57,6 @@ extern int dd_main(int argc, char **argv)
|
||||
uintmax_t totalSize;
|
||||
uintmax_t readSize;
|
||||
unsigned char buf[BUFSIZ];
|
||||
off_t jumped;
|
||||
|
||||
argc--;
|
||||
argv++;
|
||||
@ -131,7 +130,7 @@ extern int dd_main(int argc, char **argv)
|
||||
}
|
||||
|
||||
lseek(inFd, (off_t) (skipBlocks * blockSize), SEEK_SET);
|
||||
jumped = lseek(outFd, (off_t) (seekBlocks * blockSize), SEEK_SET);
|
||||
lseek(outFd, (off_t) (seekBlocks * blockSize), SEEK_SET);
|
||||
totalSize=count*blockSize;
|
||||
while ((readSize = totalSize - inTotal) > 0) {
|
||||
if (readSize > BUFSIZ)
|
||||
|
3
dd.c
3
dd.c
@ -57,7 +57,6 @@ extern int dd_main(int argc, char **argv)
|
||||
uintmax_t totalSize;
|
||||
uintmax_t readSize;
|
||||
unsigned char buf[BUFSIZ];
|
||||
off_t jumped;
|
||||
|
||||
argc--;
|
||||
argv++;
|
||||
@ -131,7 +130,7 @@ extern int dd_main(int argc, char **argv)
|
||||
}
|
||||
|
||||
lseek(inFd, (off_t) (skipBlocks * blockSize), SEEK_SET);
|
||||
jumped = lseek(outFd, (off_t) (seekBlocks * blockSize), SEEK_SET);
|
||||
lseek(outFd, (off_t) (seekBlocks * blockSize), SEEK_SET);
|
||||
totalSize=count*blockSize;
|
||||
while ((readSize = totalSize - inTotal) > 0) {
|
||||
if (readSize > BUFSIZ)
|
||||
|
Loading…
Reference in New Issue
Block a user