Skip to content

Commit

Permalink
fix: query bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
asLody committed Dec 1, 2017
1 parent 248438a commit 5efeaa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion VirtualApp/lib/src/main/jni/Foundation/IOUniformer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ void IOUniformer::redirect(const char *orig_path, const char *new_path) {
}

const char *IOUniformer::query(const char *orig_path) {
return reverse_relocate_path(orig_path);
int res;
return relocate_path(orig_path, &res);
}

void IOUniformer::whitelist(const char *_path) {
Expand Down

0 comments on commit 5efeaa9

Please sign in to comment.