From 4c3cd1aeb08e5c62fb88109dbe4f86582ee7cdbf Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Thu, 15 Sep 2011 17:11:15 +1000 Subject: Refactor privilege code --- src/xserver-xvnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xserver-xvnc.c') diff --git a/src/xserver-xvnc.c b/src/xserver-xvnc.c index e6d6aa63..cbff3744 100644 --- a/src/xserver-xvnc.c +++ b/src/xserver-xvnc.c @@ -209,7 +209,7 @@ xserver_xvnc_start (DisplayServer *display_server) path = g_file_get_path (server->priv->authority_file); g_debug ("Writing X server authority to %s", path); - xauth_write (authority, XAUTH_WRITE_MODE_REPLACE, NULL, server->priv->authority_file, &error); + xauth_write (authority, XAUTH_WRITE_MODE_REPLACE, server->priv->authority_file, &error); if (error) g_warning ("Failed to write authority: %s", error->message); g_clear_error (&error); -- cgit v1.2.1