-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SessMgr: Make 'vncserver -sessionlist' extensible
This commit modifies the SessionList() function in vncserver so that it prepends the session list with a session count and field size and separates fields with tabs instead of spaces. The field size is currently 1 but can be increased later, if we decide to add more session information to the -sessionlist output. That session information can now easily contain spaces as well, since we're using tabs as field separators. This commit also modifies the Session Manager parser so that it reads and verifies the session count and field size, as well as (for future-proofness) ignores any fields other than the ones it needs. Refer to #148
- Loading branch information
1 parent
44c5a1a
commit 86334c2
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters