Skip to content

Commit

Permalink
feat(ipc): specify user name for named pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
nameoverflow committed Apr 1, 2018
1 parent 9ce1fa8 commit 2dfa5e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion WeaselTSF/CandidateList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ STDMETHODIMP CandidateList::Finalize(void)

STDMETHODIMP CandidateList::Abort(void)
{
_tsf->_AbordComposition(true);
_tsf->_AbortComposition(true);
return S_OK;
}

Expand Down
2 changes: 2 additions & 0 deletions include/WeaselIPC.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ namespace weasel
return pipe_name;
}
pipe_name += L"\\\\.\\pipe\\";
pipe_name += username.get();
pipe_name += L"\\";
pipe_name += WEASEL_IPC_PIPE_NAME;
return pipe_name;
}
Expand Down

0 comments on commit 2dfa5e1

Please sign in to comment.