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
b6b88893
Commit
b6b88893
authored
Jun 23, 2014
by
Matthias Treydte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize padding in SetFormatAndEncodings' rfbSetPixelFormatMsg.
parent
8c21b31c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
rfbproto.c
libvncclient/rfbproto.c
+2
-0
No files found.
libvncclient/rfbproto.c
View file @
b6b88893
...
@@ -1288,6 +1288,8 @@ SetFormatAndEncodings(rfbClient* client)
...
@@ -1288,6 +1288,8 @@ SetFormatAndEncodings(rfbClient* client)
if
(
!
SupportsClient2Server
(
client
,
rfbSetPixelFormat
))
return
TRUE
;
if
(
!
SupportsClient2Server
(
client
,
rfbSetPixelFormat
))
return
TRUE
;
spf
.
type
=
rfbSetPixelFormat
;
spf
.
type
=
rfbSetPixelFormat
;
spf
.
pad1
=
0
;
spf
.
pad2
=
0
;
spf
.
format
=
client
->
format
;
spf
.
format
=
client
->
format
;
spf
.
format
.
redMax
=
rfbClientSwap16IfLE
(
spf
.
format
.
redMax
);
spf
.
format
.
redMax
=
rfbClientSwap16IfLE
(
spf
.
format
.
redMax
);
spf
.
format
.
greenMax
=
rfbClientSwap16IfLE
(
spf
.
format
.
greenMax
);
spf
.
format
.
greenMax
=
rfbClientSwap16IfLE
(
spf
.
format
.
greenMax
);
...
...
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