mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
owncloud: remove unused member from transfer context
This commit is contained in:
parent
a577bf8faa
commit
d9b14670ab
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue