summaryrefslogtreecommitdiff
path: root/src/xserver-xvnc.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-09-15 17:11:15 +1000
committerRobert Ancell <robert.ancell@canonical.com>2011-09-15 17:11:15 +1000
commit4c3cd1aeb08e5c62fb88109dbe4f86582ee7cdbf (patch)
tree3771ce39db1bad701eda95b86923849b800dcfae /src/xserver-xvnc.c
parent6d0a8b1527c546c3d9c91a91f6a41df95ef811c5 (diff)
downloadlightdm-4c3cd1aeb08e5c62fb88109dbe4f86582ee7cdbf.tar.gz
Refactor privilege code
Diffstat (limited to 'src/xserver-xvnc.c')
-rw-r--r--src/xserver-xvnc.c2
1 files changed, 1 insertions, 1 deletions
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);