aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Display.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-02-13 12:32:06 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-02-13 12:32:06 +0100
commitb61934be2e9b4a8d3112270b0e691d47f99ba39f (patch)
treed0cb58feeddb553a6e9ab6daea5056bd0221eb2b /nx-X11/programs/Xserver/hw/nxagent/Display.c
parent427ac344c53acf4cb361f24e1df771137f83ea6b (diff)
parent16cd2bbe1c4425e3fa557f9ca0723aa94a50b071 (diff)
downloadnx-libs-b61934be2e9b4a8d3112270b0e691d47f99ba39f.tar.gz
nx-libs-b61934be2e9b4a8d3112270b0e691d47f99ba39f.tar.bz2
nx-libs-b61934be2e9b4a8d3112270b0e691d47f99ba39f.zip
Merge branch 'uli42-pr/misc' into 3.6.x
Attributes GH PR #766: https://github.com/ArcticaProject/nx-libs/pull/766
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Display.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Display.c b/nx-X11/programs/Xserver/hw/nxagent/Display.c
index 127874962..89a191dce 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Display.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c
@@ -313,7 +313,7 @@ static void nxagentSighupHandler(int signal)
}
else if (nxagentSessionState == SESSION_UP)
{
- if (nxagentOption(Persistent) == 1)
+ if (nxagentOption(Persistent))
{
#ifdef TEST
fprintf(stderr, "nxagentSighupHandler: Handling the signal by disconnecting the agent.\n");