Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
2b40016b
Commit
2b40016b
authored
6 years ago
by
Andreas Traczyk
Browse files
Options
Downloads
Patches
Plain Diff
datatransfer: decode multi-byte path string on windows
Change-Id: I0c6cb7a45ceb142717519f4dfd2a8541aea5db5d
parent
13b8e81e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/data_transfer.cpp
+4
-0
4 additions, 0 deletions
src/data_transfer.cpp
with
4 additions
and
0 deletions
src/data_transfer.cpp
+
4
−
0
View file @
2b40016b
...
...
@@ -723,7 +723,11 @@ DataTransferFacade::acceptAsFile(const DRing::DataTransferId& id,
const
auto
&
iter
=
pimpl_
->
map_
.
find
(
id
);
if
(
iter
==
std
::
end
(
pimpl_
->
map_
))
return
DRing
::
DataTransferError
::
invalid_argument
;
#ifndef _WIN32
iter
->
second
->
accept
(
file_path
,
offset
);
#else
iter
->
second
->
accept
(
decodeMultibyteString
(
file_path
),
offset
);
#endif
return
DRing
::
DataTransferError
::
success
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment