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
f855b3b6
Commit
f855b3b6
authored
Mar 16, 2017
by
Vadim Troshchinskiy
Committed by
Mihai Moldovan
Oct 27, 2017
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix whitespace and line splitting issues reported by ionic
parent
1cf6aa8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
10 deletions
+19
-10
Loop.cpp
nxcomp/src/Loop.cpp
+19
-10
No files found.
nxcomp/src/Loop.cpp
View file @
f855b3b6
...
...
@@ -661,10 +661,11 @@ static void handleCheckSessionInLoop();
static
void
handleCheckBitrateInLoop
();
static
void
handleCheckSelectInLoop
(
int
&
setFDs
,
fd_set
&
readSet
,
fd_set
&
writeSet
,
T_timestamp
selectTs
);
static
void
handleCheckResultInLoop
(
int
&
resultFDs
,
int
&
errorFDs
,
int
&
setFDs
,
fd_set
&
readSet
,
fd_set
&
writeSet
,
T_timestamp
selectTs
);
static
void
handleCheckResultInLoop
(
int
&
resultFDs
,
int
&
errorFDs
,
int
&
setFDs
,
fd_set
&
readSet
,
fd_set
&
writeSet
,
struct
timeval
&
selectTs
,
struct
timeval
&
startTs
);
static
void
handleCheckStateInLoop
(
int
&
setFDs
);
static
void
handleCheckStateInLoop
(
int
&
setFDs
);
static
void
handleCheckSessionInConnect
();
static
inline
void
handleSetReadInLoop
(
fd_set
&
readSet
,
int
&
setFDs
,
struct
timeval
&
selectTs
);
...
...
@@ -2529,7 +2530,8 @@ int NXTransAlert(int code, int local)
{
if
(
logofs
==
NULL
)
{
logofs
=
&
cerr
;
}
logofs
=
&
cerr
;
}
nxdbg
<<
"NXTransAlert: Can't request an alert without "
<<
"a valid NX transport.
\n
"
<<
std
::
flush
;
...
...
@@ -3186,7 +3188,9 @@ int SetupProxyConnection()
nxinfo
<<
"Loop: listenSocket is "
<<
(
listenSocket
.
enabled
()
?
"enabled"
:
"disabled"
)
<<
". "
<<
"The socket URI is '"
<<
(
socketUri
!=
NULL
?
socketUri
:
"<unset>"
)
<<
"'.
\n
"
<<
std
::
flush
;
free
(
socketUri
);
socketUri
=
NULL
;
free
(
socketUri
);
socketUri
=
NULL
;
if
(
WE_INITIATE_CONNECTION
)
{
if
(
connectSocket
.
getSpec
(
&
socketUri
))
...
...
@@ -8555,7 +8559,7 @@ int ParseCommandLineOptions(int argc, const char **argv)
nxinfo
<<
"Loop: Argc is "
<<
argc
<<
".
\n
"
<<
std
::
flush
;
for
(
int
argi
=
0
;
argi
<
argc
;
argi
++
)
{
{
nxinfo
<<
"Loop: Argv["
<<
argi
<<
"] is "
<<
argv
[
argi
]
<<
".
\n
"
<<
std
::
flush
;
}
...
...
@@ -13019,11 +13023,13 @@ void PrintProcessInfo()
if
(
*
errorsFileName
!=
'\0'
)
{
cerr
<<
"Info"
<<
": Using errors file '"
<<
errorsFileName
<<
"'.
\n
"
;
}
cerr
<<
"Info"
<<
": Using errors file '"
<<
errorsFileName
<<
"'.
\n
"
;
}
if
(
*
statsFileName
!=
'\0'
)
{
cerr
<<
"Info"
<<
": Using stats file '"
<<
statsFileName
<<
"'.
\n
"
;
}
cerr
<<
"Info"
<<
": Using stats file '"
<<
statsFileName
<<
"'.
\n
"
;
}
}
...
...
@@ -13447,7 +13453,7 @@ int ParseArg(const char *type, const char *name, const char *value)
case
'k'
:
case
'm'
:
case
'g'
:
{
{
nxinfo
<<
(
char
)
toupper
(
*
id
);
break
;
}
...
...
@@ -13941,8 +13947,11 @@ static void handleCheckBitrateInLoop()
static
void
handleCheckStateInLoop
(
int
&
setFDs
)
{
int
fdLength
;
int
fdPending
;
int
fdSplits
;
{
int
fdLength
;
int
fdPending
;
int
fdSplits
;
for
(
int
j
=
0
;
j
<
setFDs
;
j
++
)
{
if
(
j
!=
proxyFD
)
...
...
dimbor
@dimbor
mentioned in commit
06a6c582
·
Jan 26, 2018
mentioned in commit
06a6c582
mentioned in commit 06a6c5829116d97fe9ab54801488d2945643fe0d
Toggle commit list
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