aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/SM/sm_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/SM/sm_client.c')
-rw-r--r--nx-X11/lib/SM/sm_client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nx-X11/lib/SM/sm_client.c b/nx-X11/lib/SM/sm_client.c
index 02f9ccdf6..499be5e3d 100644
--- a/nx-X11/lib/SM/sm_client.c
+++ b/nx-X11/lib/SM/sm_client.c
@@ -239,7 +239,9 @@ char *errorStringRet;
SIZEOF (smRegisterClientMsg), WORD64COUNT (extra),
smRegisterClientMsg, pMsg, pData);
- STORE_ARRAY8 (pData, 0, NULL);
+ previousId = NULL;
+
+ STORE_ARRAY8 (pData, 0, previousId);
IceFlush (iceConn);