diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-03-05 22:39:24 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-03-05 22:52:27 +0100 |
commit | 1ab589f39ed0429ca08f13f093161098ac511ef1 (patch) | |
tree | f9541a81a60ac00a7371fef53fc42d0e9cc4465a /server/red_worker.h | |
parent | 01d565ff5472201d082e9bca5fa017694d4013ef (diff) | |
download | spice-1ab589f39ed0429ca08f13f093161098ac511ef1.tar.gz spice-1ab589f39ed0429ca08f13f093161098ac511ef1.tar.xz spice-1ab589f39ed0429ca08f13f093161098ac511ef1.zip |
Use SPICE_FOREIGN_MENU_SOCKET if it's available
If specified, use SPICE_FOREIGN_MENU_SOCKET environment variable over
snprintf(pipe_name, PIPE_NAME_MAX_LEN, PIPE_NAME,
Platform::get_process_id()); since it's impossible to guess the client
pid when spice-xpi launches the client as a grand-child (via script
etc).
This is also more aligned with the way we handle SPICE_XPI_SOCKET
location.
Diffstat (limited to 'server/red_worker.h')
0 files changed, 0 insertions, 0 deletions