From ecb6bd24f4fc69b4b4332630f07ef428c4f101e7 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 3 Nov 2014 12:46:27 +0100 Subject: Apply 02_server-name.patch. Provide support for non-Canonical UCCS servers. --- src/uccs-server.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/uccs-server.c b/src/uccs-server.c index 0ec6f04..d8c61a9 100644 --- a/src/uccs-server.c +++ b/src/uccs-server.c @@ -20,6 +20,7 @@ #include "config.h" #endif +#include #include #include @@ -734,6 +735,8 @@ uccs_server_unlock (UccsServer * server, const gchar * address, const gchar * us argv[1] = server->username; argv[2] = NULL; + g_setenv("SERVER_ROOT", server->parent.uri, TRUE); + g_spawn_async_with_pipes(NULL, /* pwd */ (gchar **)argv, NULL, /* env */ -- cgit v1.2.3