mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Remove wrong cast
This commit is contained in:
parent
3cbc0e5d7e
commit
c32e50462e
@ -904,7 +904,7 @@ static csync_vio_method_handle_t *owncloud_open(const char *durl,
|
||||
if( c_streq( dir, _lastDir )) {
|
||||
DEBUG_WEBDAV("Dir %s is there, we know it already.", dir);
|
||||
} else {
|
||||
if( owncloud_stat( dir, (csync_vio_method_handle_t*)(&statBuf) ) == 0 ) {
|
||||
if( owncloud_stat( dir, &statBuf ) == 0 ) {
|
||||
SAFE_FREE(statBuf.name);
|
||||
DEBUG_WEBDAV("Directory of file to open exists.");
|
||||
SAFE_FREE( _lastDir );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user