aboutsummaryrefslogtreecommitdiffstats
path: root/src/u_utils.c
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-14 16:27:49 +0000
committerjozan <jozan@noemail.net>2020-11-14 16:27:49 +0000
commit3ef04cfdf3bb63c4fa72a2642dc264562bfd8242 (patch)
tree338ae92f2fad36689fdaee294401422b6816e1d0 /src/u_utils.c
parentIndent changes (diff)
downloadunixize-3ef04cfdf3bb63c4fa72a2642dc264562bfd8242.tar.gz
unixize-3ef04cfdf3bb63c4fa72a2642dc264562bfd8242.tar.bz2
unixize-3ef04cfdf3bb63c4fa72a2642dc264562bfd8242.tar.xz
unixize-3ef04cfdf3bb63c4fa72a2642dc264562bfd8242.tar.zst
unixize-3ef04cfdf3bb63c4fa72a2642dc264562bfd8242.zip
Recursive bug fix
FossilOrigin-Name: ab695ff8af7123fc04eec76b8215fd60ad0cc98d1444ec87fcabd3322b6323fa
Diffstat (limited to '')
-rw-r--r--src/u_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/u_utils.c b/src/u_utils.c
index b5373e5..8555710 100644
--- a/src/u_utils.c
+++ b/src/u_utils.c
@@ -129,7 +129,7 @@ u_get_extra_args(char args[], struct opts_s* opts)
null_char += 2;
i++;
}
- if (opts->rpretend == TRUE) {
+ if (opts->rverbose == TRUE) {
memcpy((char*)args + (i * 2), "r:", 3 * sizeof(char));
null_char += 2;
i++;
@@ -179,7 +179,7 @@ u_get_nargv(struct opts_s* opts)
}
nargv[0][0] = C_RECURSIVE_CHAR;
nargv[0][1] = 0x00;
- nargv[1] = strdup("-R");
+ nargv[1] = strdup("R");
nargv[2] = NULL;
if (nargv[1] == NULL) {
u_memdel((void*)&nargv[0]);