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
a549c3aa
Commit
a549c3aa
authored
May 17, 2007
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In rfbSendFileTransferChunk() check permitFileTransfer 1st to avoid false alarms.
parent
a2707712
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
rfbserver.c
libvncserver/rfbserver.c
+4
-3
No files found.
libvncserver/rfbserver.c
View file @
a549c3aa
...
@@ -1310,10 +1310,11 @@ rfbBool rfbSendFileTransferChunk(rfbClientPtr cl)
...
@@ -1310,10 +1310,11 @@ rfbBool rfbSendFileTransferChunk(rfbClientPtr cl)
/*
/*
* Don't close the client if we get into this one because
* Don't close the client if we get into this one because
* it is called from many places to service file transfers.
* it is called from many places to service file transfers.
* Note that permitFileTransfer is checked first.
*/
*/
if
(
(
cl
->
screen
->
getFileTransferPermission
!=
NULL
if
(
cl
->
screen
->
permitFileTransfer
!=
TRUE
||
&&
cl
->
screen
->
getFileTransferPermission
(
cl
)
!=
TRUE
)
(
cl
->
screen
->
getFileTransferPermission
!=
NULL
||
cl
->
screen
->
permitFileTransfer
!=
TRUE
)
{
&&
cl
->
screen
->
getFileTransferPermission
(
cl
)
!=
TRUE
))
{
return
TRUE
;
return
TRUE
;
}
}
...
...
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