owncloud: remove unused member from transfer context

This commit is contained in:
Daniel Molkentin 2012-11-07 14:58:53 +01:00
parent a577bf8faa
commit d9b14670ab

View file

@ -119,7 +119,6 @@ struct transfer_context {
const char *method; /* the HTTP method, either PUT or GET */
ne_decompress *decompress; /* the decompress context */
int fileWritten; /* flag to indicate that a buffer file was written for PUTs */
char *md5;
char *clean_uri;
};
@ -1527,13 +1526,6 @@ static csync_vio_method_handle_t *owncloud_open(const char *durl,
ne_decompress_destroy( writeCtx->decompress );
}
/* preserve the ETag header */
etag_header = ne_get_response_header( writeCtx->req, "ETag" );
if( etag_header ) {
writeCtx->md5 = c_strdup( etag_header );
DEBUG_WEBDAV("GET Etag: %s", etag_header );
}
/* delete the request in any case */
ne_request_destroy(writeCtx->req);
#else