Skip to content

Commit

Permalink
And I need to clear the XML object over multiple rounds <doh>
Browse files Browse the repository at this point in the history
  • Loading branch information
James D. Nurmi committed Jul 10, 2011
1 parent bb67b99 commit 378618d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions s3/bucket_opers.go
Expand Up @@ -227,14 +227,14 @@ func (self *Bucket) ListKeys(id *aws.Signer,
prefix, delim, marker string, out chan<- string) (err os.Error) {
var done bool
var resp *http.Response
result := listBucketResult{}
result.Prefix = prefix
result.Marker = marker
var last string
form := http.Values{"prefix": []string{prefix},
"delimeter": []string{delim},
"marker":[]string{marker}}
for err == nil && !done {
result := listBucketResult{}
result.Prefix = prefix
result.Marker = marker
if last != "" {form.Set("marker", last) }

hreq := aws.NewRequest(self.key_url("/"), "GET", nil, form)
Expand Down

0 comments on commit 378618d

Please sign in to comment.