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
1589d04d
Commit
1589d04d
authored
Jun 18, 2004
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
c8ccb166
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
sockets.c
libvncserver/sockets.c
+8
-0
No files found.
libvncserver/sockets.c
View file @
1589d04d
...
@@ -464,6 +464,14 @@ WriteExact(cl, buf, len)
...
@@ -464,6 +464,14 @@ WriteExact(cl, buf, len)
struct
timeval
tv
;
struct
timeval
tv
;
int
totalTimeWaited
=
0
;
int
totalTimeWaited
=
0
;
#undef DEBUG_WRITE_EXACT
#ifdef DEBUG_WRITE_EXACT
rfbLog
(
"WriteExact %d bytes
\n
"
,
len
);
for
(
n
=
0
;
n
<
len
;
n
++
)
fprintf
(
stderr
,
"%02x "
,(
unsigned
char
)
buf
[
n
]);
fprintf
(
stderr
,
"
\n
"
);
#endif
LOCK
(
cl
->
outputMutex
);
LOCK
(
cl
->
outputMutex
);
while
(
len
>
0
)
{
while
(
len
>
0
)
{
n
=
write
(
sock
,
buf
,
len
);
n
=
write
(
sock
,
buf
,
len
);
...
...
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