From 56e792f12369c0c32b64fafb4472267b74d01309 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 21 Apr 2006 16:58:13 +0000 Subject: [PATCH] Fixed a failing hunk. --- slow-down.diff | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/slow-down.diff b/slow-down.diff index 87f8f5e..b14dcf9 100644 --- a/slow-down.diff +++ b/slow-down.diff @@ -10,15 +10,15 @@ rate or something like that). --- old/flist.c +++ new/flist.c -@@ -58,6 +58,7 @@ extern int copy_links; +@@ -57,6 +57,7 @@ extern int copy_links; extern int copy_unsafe_links; extern int protocol_version; extern int sanitize_paths; +extern unsigned long sleep_asec; - extern const char *io_write_phase; extern struct stats stats; extern struct file_list *the_file_list; -@@ -1049,6 +1050,9 @@ static void send_directory(int f, struct + +@@ -1043,6 +1044,9 @@ static void send_directory(int f, struct } send_file_name(f, flist, fbuf, NULL, 0); @@ -30,7 +30,7 @@ rate or something like that). fbuf[len] = '\0'; --- old/options.c +++ new/options.c -@@ -102,6 +102,7 @@ int size_only = 0; +@@ -100,6 +100,7 @@ int size_only = 0; int daemon_bwlimit = 0; int bwlimit = 0; int fuzzy_basis = 0; @@ -38,7 +38,7 @@ rate or something like that). size_t bwlimit_writemax = 0; int ignore_existing = 0; int ignore_non_existing = 0; -@@ -364,6 +365,7 @@ void usage(enum logcode F) +@@ -363,6 +364,7 @@ void usage(enum logcode F) rprintf(F," --password-file=FILE read password from FILE\n"); rprintf(F," --list-only list the files instead of copying them\n"); rprintf(F," --bwlimit=KBPS limit I/O bandwidth; KBytes per second\n"); @@ -46,7 +46,7 @@ rate or something like that). rprintf(F," --write-batch=FILE write a batched update to FILE\n"); rprintf(F," --only-write-batch=FILE like --write-batch but w/o updating destination\n"); rprintf(F," --read-batch=FILE read a batched update from FILE\n"); -@@ -492,6 +494,7 @@ static struct poptOption long_options[] +@@ -495,6 +497,7 @@ static struct poptOption long_options[] {"log-format", 0, POPT_ARG_STRING, &log_format, 0, 0, 0 }, {"itemize-changes", 'i', POPT_ARG_NONE, 0, 'i', 0, 0 }, {"bwlimit", 0, POPT_ARG_INT, &bwlimit, 0, 0, 0 }, -- 2.34.1