Skip to content

Commit c0f7d9c

Browse files
committed
Fix ds3_get_available_chunks so it populates
ds3_get_available_chunks_response's object_list and passes the overall response structure back to the user via the given out variable.
1 parent 22c95df commit c0f7d9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ds3.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1618,13 +1618,14 @@ ds3_error* ds3_get_available_chunks(const ds3_client* client, const ds3_request*
16181618
}
16191619

16201620
_parse_master_object_list(doc, &bulk_response);
1621-
1621+
ds3_response->object_list = bulk_response;
16221622

16231623
xmlFreeDoc(doc);
16241624
g_byte_array_free(xml_blob, TRUE);
16251625
if (response_headers != NULL) {
16261626
g_hash_table_destroy(response_headers);
16271627
}
1628+
*response = ds3_response;
16281629
return NULL;
16291630
}
16301631

0 commit comments

Comments
 (0)