Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
dimbor
nx-libs
Commits
99b11437
Commit
99b11437
authored
Jan 05, 2018
by
Ulrich Sibiller
Committed by
Mike Gabriel
Feb 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handlers.c: Fix wrong function names in TEST output
parent
995350d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Handlers.c
nx-X11/programs/Xserver/hw/nxagent/Handlers.c
+5
-5
No files found.
nx-X11/programs/Xserver/hw/nxagent/Handlers.c
View file @
99b11437
...
@@ -423,7 +423,7 @@ void nxagentBlockHandler(void * data, struct timeval **timeout, void * mask)
...
@@ -423,7 +423,7 @@ void nxagentBlockHandler(void * data, struct timeval **timeout, void * mask)
}
}
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagent
Dispatch
Handler: Reducing the display buffer to [%d] bytes.
\n
"
,
fprintf
(
stderr
,
"nxagent
Block
Handler: Reducing the display buffer to [%d] bytes.
\n
"
,
nxagentBuffer
);
nxagentBuffer
);
#endif
#endif
...
@@ -435,7 +435,7 @@ void nxagentBlockHandler(void * data, struct timeval **timeout, void * mask)
...
@@ -435,7 +435,7 @@ void nxagentBlockHandler(void * data, struct timeval **timeout, void * mask)
nxagentBuffer
=
nxagentOption
(
DisplayBuffer
);
nxagentBuffer
=
nxagentOption
(
DisplayBuffer
);
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagent
Dispatch
Handler: Increasing the display buffer to [%d] bytes.
\n
"
,
fprintf
(
stderr
,
"nxagent
Block
Handler: Increasing the display buffer to [%d] bytes.
\n
"
,
nxagentBuffer
);
nxagentBuffer
);
#endif
#endif
...
@@ -590,7 +590,7 @@ void nxagentWakeupHandler(void * data, int count, void * mask)
...
@@ -590,7 +590,7 @@ void nxagentWakeupHandler(void * data, int count, void * mask)
#endif
#endif
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagent
Block
Handler: Calling nxagentHandleConnectionStates "
fprintf
(
stderr
,
"nxagent
Wakeup
Handler: Calling nxagentHandleConnectionStates "
"with ioError [%d] sigHup [%d].
\n
"
,
nxagentException
.
ioError
,
nxagentException
.
sigHup
);
"with ioError [%d] sigHup [%d].
\n
"
,
nxagentException
.
ioError
,
nxagentException
.
sigHup
);
#endif
#endif
...
@@ -743,14 +743,14 @@ void nxagentShadowBlockHandler(void * data, struct timeval **timeout, void * mas
...
@@ -743,14 +743,14 @@ void nxagentShadowBlockHandler(void * data, struct timeval **timeout, void * mas
if
(
nxagentSessionState
==
SESSION_DOWN
&&
nxagentOption
(
SleepTime
)
>
0
)
if
(
nxagentSessionState
==
SESSION_DOWN
&&
nxagentOption
(
SleepTime
)
>
0
)
{
{
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagentBlockHandler: sleeping for %d milliseconds for slowdown.
\n
"
,
fprintf
(
stderr
,
"nxagent
Shadow
BlockHandler: sleeping for %d milliseconds for slowdown.
\n
"
,
nxagentOption
(
SleepTime
));
nxagentOption
(
SleepTime
));
#endif
#endif
usleep
(
nxagentOption
(
SleepTime
)
*
1000
);
usleep
(
nxagentOption
(
SleepTime
)
*
1000
);
}
}
#ifdef TEST
#ifdef TEST
else
if
(
0
==
nxagentOption
(
SleepTime
))
{
else
if
(
0
==
nxagentOption
(
SleepTime
))
{
fprintf
(
stderr
,
"nxagentBlockHandler: not sleeping for slowdown.
\n
"
);
fprintf
(
stderr
,
"nxagent
Shadow
BlockHandler: not sleeping for slowdown.
\n
"
);
}
}
#endif
#endif
...
...
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