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
126cbe1f
Unverified
Commit
126cbe1f
authored
Jun 11, 2019
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uli42-pr/remove_requestlog' into 3.6.x
Attributes GH PR #811:
https://github.com/ArcticaProject/nx-libs/pull/811
parents
789d3a37
0eab060d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
23 deletions
+0
-23
dispatch.c
nx-X11/programs/Xserver/dix/dispatch.c
+0
-9
NXdispatch.c
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+0
-6
dixstruct.h
nx-X11/programs/Xserver/include/dixstruct.h
+0
-8
No files found.
nx-X11/programs/Xserver/dix/dispatch.c
View file @
126cbe1f
...
...
@@ -416,12 +416,6 @@ Dispatch(void)
}
client
->
sequence
++
;
#ifdef DEBUG
if
(
client
->
requestLogIndex
==
MAX_REQUEST_LOG
)
client
->
requestLogIndex
=
0
;
client
->
requestLog
[
client
->
requestLogIndex
]
=
MAJOROP
;
client
->
requestLogIndex
++
;
#endif
if
(
result
>
(
maxBigRequestSize
<<
2
))
result
=
BadLength
;
else
...
...
@@ -3622,9 +3616,6 @@ void InitClient(ClientPtr client, int i, void * ospriv)
client
->
numSaved
=
0
;
client
->
saveSet
=
(
SaveSetElt
*
)
NULL
;
client
->
noClientException
=
Success
;
#ifdef DEBUG
client
->
requestLogIndex
=
0
;
#endif
client
->
requestVector
=
InitialVector
;
client
->
osPrivate
=
ospriv
;
client
->
swapped
=
FALSE
;
...
...
nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
View file @
126cbe1f
...
...
@@ -468,12 +468,6 @@ Reply Total Cached Bits In Bits Out Bits/Reply Ratio
#endif
client
->
sequence
++
;
#ifdef DEBUG
if
((
client
->
requestLogIndex
>=
MAX_REQUEST_LOG
)
||
(
client
->
requestLogIndex
<=
0
))
client
->
requestLogIndex
=
0
;
client
->
requestLog
[
client
->
requestLogIndex
]
=
MAJOROP
;
client
->
requestLogIndex
++
;
#endif
if
(
result
>
(
maxBigRequestSize
<<
2
))
result
=
BadLength
;
else
...
...
nx-X11/programs/Xserver/include/dixstruct.h
View file @
126cbe1f
...
...
@@ -37,10 +37,6 @@ SOFTWARE.
* translation from client ids to server addresses.
*/
#ifdef DEBUG
#define MAX_REQUEST_LOG 100
#endif
extern
CallbackListPtr
ClientStateCallback
;
typedef
struct
{
...
...
@@ -121,10 +117,6 @@ typedef struct _Client {
KeyCode
minKC
,
maxKC
;
#endif
#ifdef DEBUG
unsigned
char
requestLog
[
MAX_REQUEST_LOG
];
int
requestLogIndex
;
#endif
unsigned
long
replyBytesRemaining
;
#ifdef XCSECURITY
XID
authId
;
...
...
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