mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-23 22:08:24 +00:00
Merge pull request #851 from gaul/list-object-max-keys
Correctly compare list_object_max_keys
This commit is contained in:
commit
44de3ffa05
@ -4617,7 +4617,7 @@ static int my_fuse_opt_proc(void* data, const char* arg, int key, struct fuse_ar
|
||||
S3fsCurl::SetReadwriteTimeout(rwtimeout);
|
||||
return 0;
|
||||
}
|
||||
if(0 == strcmp(arg, "list_object_max_keys")){
|
||||
if(0 == STR2NCMP(arg, "list_object_max_keys=")){
|
||||
int max_keys = static_cast<int>(s3fs_strtoofft(strchr(arg, '=') + sizeof(char)));
|
||||
if(max_keys < 1000){
|
||||
S3FS_PRN_EXIT("argument should be over 1000: list_object_max_keys");
|
||||
|
Loading…
x
Reference in New Issue
Block a user