mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +03:00
Fix definition of tmp file name.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
parent
0e804ca685
commit
ce080d5ee1
1 changed files with 1 additions and 1 deletions
|
@ -1154,7 +1154,7 @@ static ssize_t owncloud_read(csync_vio_method_handle_t *fhandle, void *buf, size
|
|||
#ifdef _WIN32
|
||||
_fmode = _O_BINARY;
|
||||
#endif
|
||||
tmpFileName = c_multibyte(writeCtx->tmpFileName);
|
||||
const mbchar_t *tmpFileName = c_multibyte(writeCtx->tmpFileName);
|
||||
if (( writeCtx->fd = _topen( tmpFileName, O_RDONLY )) < 0) {
|
||||
c_free_multibyte(tmpFileName);
|
||||
DEBUG_WEBDAV(("Could not open local file %s", writeCtx->tmpFileName ));
|
||||
|
|
Loading…
Reference in a new issue