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
c641923d
Commit
c641923d
authored
Nov 30, 2004
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix long reads (in some events of success, no TRUE was returned)
parent
9a8a28c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
ChangeLog
ChangeLog
+3
-0
sockets.c
libvncclient/sockets.c
+8
-7
No files found.
ChangeLog
View file @
c641923d
2004-11-30 "Leiradella, Andre V Matos Da Cunha" <ANDRE.LEIRADELLA@bra.xerox.com>
* libvncclient/sockets.c: return TRUE in every case of success
2004-08-29 Karl Runge <runge@karlrunge.com>
2004-08-29 Karl Runge <runge@karlrunge.com>
* x11vnc: yet another pointer input handling algorithm in
* x11vnc: yet another pointer input handling algorithm in
check_user_input(), revert to previous with -old_pointer2.
check_user_input(), revert to previous with -old_pointer2.
...
...
libvncclient/sockets.c
View file @
c641923d
...
@@ -162,17 +162,18 @@ ReadFromRFBServer(rfbClient* client, char *out, unsigned int n)
...
@@ -162,17 +162,18 @@ ReadFromRFBServer(rfbClient* client, char *out, unsigned int n)
out
+=
i
;
out
+=
i
;
n
-=
i
;
n
-=
i
;
}
}
}
#ifdef DEBUG_READ_EXACT
#ifdef DEBUG_READ_EXACT
hexdump:
hexdump:
{
int
ii
;
{
int
ii
;
for
(
ii
=
0
;
ii
<
nn
;
ii
++
)
for
(
ii
=
0
;
ii
<
nn
;
ii
++
)
fprintf
(
stderr
,
"%02x "
,(
unsigned
char
)
oout
[
ii
]);
fprintf
(
stderr
,
"%02x "
,(
unsigned
char
)
oout
[
ii
]);
fprintf
(
stderr
,
"
\n
"
);
fprintf
(
stderr
,
"
\n
"
);
}
#endif
return
TRUE
;
}
}
#endif
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