mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
ownCloud: clear the cache variables before ID query.
This commit is contained in:
parent
403fec1454
commit
0dfa61650d
1 changed files with 4 additions and 0 deletions
|
@ -1210,6 +1210,10 @@ static const char* owncloud_file_id( const char *path )
|
|||
* into a PROPFIND request.
|
||||
*/
|
||||
if( ! header ) {
|
||||
/* Clear the cache */
|
||||
fill_stat_cache(NULL);
|
||||
|
||||
/* ... and do a stat call. */
|
||||
fs = csync_vio_file_stat_new();
|
||||
if(fs == NULL) {
|
||||
DEBUG_WEBDAV( "owncloud_file_id: memory fault.");
|
||||
|
|
Loading…
Reference in a new issue