diff --git a/src/bucket.c b/src/bucket.c index 6d30674..1c2f762 100644 --- a/src/bucket.c +++ b/src/bucket.c @@ -708,7 +708,7 @@ void S3_list_bucket(const S3BucketContext *bucketContext, const char *prefix, int amp = 0; - if (prefix && *prefix) { + if (prefix) { safe_append("prefix", prefix); } if (marker && *marker) {