diff options
author | Wayne Davison <wayne@opencoder.net> | 2020-07-07 11:56:23 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2020-07-07 11:56:23 -0700 |
commit | d2d6ad481afd323504234ccb7ecb97866b3d6931 (patch) | |
tree | 8bc2056a3fbcf242fecdac03ceecdbf19456b386 /options.c | |
parent | 5dcb49c7ddec765d4a24b4f801ffc7212c085db1 (diff) | |
download | rsync-d2d6ad481afd323504234ccb7ecb97866b3d6931.tar.gz |
Allow --max-alloc=0 for unlimited.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1889,7 +1889,7 @@ int parse_arguments(int *argc_p, const char ***argv_p) max_alloc_arg = NULL; } if (max_alloc_arg) { - ssize_t size = parse_size_arg(max_alloc_arg, 'B', "max-alloc", 1024*1024, False); + ssize_t size = parse_size_arg(max_alloc_arg, 'B', "max-alloc", 1024*1024, True); if (size < 0) return 0; max_alloc = size; |