Skip to content

Commit

Permalink
Args.c: Fix wrong string usage
Browse files Browse the repository at this point in the history
Probably a copy'n'paste bug
  • Loading branch information
uli42 committed Nov 19, 2017
1 parent 7607a66 commit 66db29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx-X11/programs/Xserver/hw/nxagent/Args.c
Original file line number Diff line number Diff line change
Expand Up @@ -2112,7 +2112,7 @@ static int nxagentGetDialogName()
sizeof(nxagentDialogName) - 1 - strlen(prefix));
}

nxagentSessionId[sizeof(nxagentSessionId) - 1] = '\0';
nxagentDialogName[sizeof(nxagentDialogName) - 1] = '\0';

return 1;
}
Expand Down

0 comments on commit 66db29c

Please sign in to comment.