diff options
author | Bryan Ischo <bryan@ischo.com> | 2008-10-08 11:26:47 +0000 |
---|---|---|
committer | Bryan Ischo <bryan@ischo.com> | 2008-10-08 11:26:47 +0000 |
commit | 3ed71a2e4f658bec7f0c886909bc3475778b7741 (patch) | |
tree | 68a3894dd3f13d4ff86c6e9ce685ee7c6abad042 /src/testsimplexml.c | |
parent | 8cc18cbb67d459076d6d3df08b02c531d5ccc08f (diff) | |
download | ceph-libs3-3ed71a2e4f658bec7f0c886909bc3475778b7741.tar.gz |
* Added -Wextra and -Wshadow compiler options, to enforce extra warnings, and
fixed the code necessary to comply with these flags
* Fixed a bug introduced in the 1.0 release, that caused last modified time
not to be reported to callbacks
* Changed the semantics of the put data callback, to only make the callback
enough times to get enough data to satisfy the content length
* Fixed the error status when curl doesn't get a valid HTTP response from
S3 to be S3StatusConnectionFailed instead of S3StatusHttpErrorUnknown
* Fixed a bug where S3_runall_request_context would stop even though a
callback had added another request
* libs3.h doesn't need sys/time.h anymore, it just needs sys/select.h
* Some minor documentation enhancements
Diffstat (limited to 'src/testsimplexml.c')
-rw-r--r-- | src/testsimplexml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testsimplexml.c b/src/testsimplexml.c index 7210074..57fba7d 100644 --- a/src/testsimplexml.c +++ b/src/testsimplexml.c @@ -33,6 +33,8 @@ static S3Status simpleXmlCallback(const char *elementPath, const char *data, int dataLen, void *callbackData) { + (void) callbackData; + printf("[%s]: [%.*s]\n", elementPath, dataLen, data); return S3StatusOK; |