mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Use wide char variable to remove directory.
This commit is contained in:
parent
c2844b0545
commit
5e4c0acc6b
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ int c_rmdirs(const char *path) {
|
|||
if ((d = _topendir(wpath)) != NULL) {
|
||||
while( _tstat(wpath, &sb) == 0) {
|
||||
/* if we can remove the directory we're done */
|
||||
if (_trmdir(path) == 0) {
|
||||
if (_trmdir(wpath) == 0) {
|
||||
break;
|
||||
}
|
||||
switch (errno) {
|
||||
|
|
Loading…
Reference in a new issue