Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
658bef5f
Commit
658bef5f
authored
Jan 01, 2011
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove never used protocol version name string.
parent
596331a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
rfbserver.c
libvncserver/rfbserver.c
+3
-8
No files found.
libvncserver/rfbserver.c
View file @
658bef5f
...
...
@@ -599,15 +599,10 @@ rfbProcessClientProtocolVersion(rfbClientPtr cl)
pv
[
sz_rfbProtocolVersionMsg
]
=
0
;
if
(
sscanf
(
pv
,
rfbProtocolVersionFormat
,
&
major_
,
&
minor_
)
!=
2
)
{
char
name
[
1024
];
if
(
sscanf
(
pv
,
"RFB %03d.%03d %1023s
\n
"
,
&
major_
,
&
minor_
,
name
)
!=
3
)
{
rfbErr
(
"rfbProcessClientProtocolVersion: not a valid RFB client: %s
\n
"
,
pv
);
rfbCloseClient
(
cl
);
return
;
}
free
(
cl
->
host
);
cl
->
host
=
strdup
(
name
);
}
rfbLog
(
"Client Protocol Version %d.%d
\n
"
,
major_
,
minor_
);
if
(
major_
!=
rfbProtocolMajorVersion
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment