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
9d41e84e
Unverified
Commit
9d41e84e
authored
Mar 02, 2017
by
Mihai Moldovan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sunweaver-pr/allow-empty-nx-options-string' into 3.6.x
Attributes GH PR #314:
https://github.com/ArcticaProject/nx-libs/pull/314
Fixes: ArcticaProject/nx-libs#51.
parents
554a6fa7
ce037f4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Loop.cpp
nxcomp/Loop.cpp
+3
-2
No files found.
nxcomp/Loop.cpp
View file @
9d41e84e
...
...
@@ -4069,7 +4069,8 @@ int SetupDisplaySocket(int &xServerAddrFamily, sockaddr *&xServerAddr,
}
else
if
(
strncasecmp
(
display
,
"nx/nx,"
,
6
)
==
0
||
strncasecmp
(
display
,
"nx,"
,
3
)
==
0
||
strncasecmp
(
display
,
"nx:"
,
3
)
==
0
)
strncasecmp
(
display
,
"nx/nx:"
,
6
)
==
0
||
strncasecmp
(
display
,
"nx:"
,
3
)
==
0
)
{
#ifdef PANIC
*
logofs
<<
"Loop: PANIC! NX transport on host X server '"
...
...
@@ -9138,7 +9139,7 @@ int ParseEnvironmentOptions(const char *env, int force)
<<
env
<<
"'.
\n
"
<<
logofs_flush
;
#endif
if
(
*
fileOptions
!=
'\0'
)
if
(
(
*
fileOptions
!=
'\0'
)
&&
(
strncmp
(
fileOptions
,
"/dev/"
,
5
)
!=
0
)
&&
(
strncmp
(
fileOptions
,
"/proc/"
,
6
)
!=
0
)
&&
(
strncmp
(
fileOptions
,
"/sys/"
,
5
)
!=
0
)
)
{
if
(
strcmp
(
fileOptions
,
optionsFileName
)
!=
0
)
{
...
...
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