aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-12-27 14:43:50 +0100
committerUlrich Sibiller <uli42@gmx.de>2017-12-29 02:31:26 +0100
commit2367fc714843fa0c19778e5a8e100c5f116255ee (patch)
treead427ca1b1ebf578e8f2652221ba3b3a5a1d5f67
parent6d8fe661eb792ff9527d78073e361bb67c3b0ede (diff)
downloadnx-libs-2367fc714843fa0c19778e5a8e100c5f116255ee.tar.gz
nx-libs-2367fc714843fa0c19778e5a8e100c5f116255ee.tar.bz2
nx-libs-2367fc714843fa0c19778e5a8e100c5f116255ee.zip
Loop.cpp: drop ugly ifdef indentation
-rw-r--r--nxcomp/src/Loop.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp
index 1bf3a6198..d094bb729 100644
--- a/nxcomp/src/Loop.cpp
+++ b/nxcomp/src/Loop.cpp
@@ -3962,13 +3962,14 @@ void SetupDisplaySocket(int &addr_family, sockaddr *&addr,
delete [] display;
return;
- } else {
+ }
- cerr << "Info" << ": Falling back to file system X11 socket "
- << "for accessing DISPLAY=:" << xPort << ".\n";
+ cerr << "Info" << ": Falling back to file system X11 socket "
+ << "for accessing DISPLAY=:" << xPort << ".\n";
- delete xServerAddrABSTRACT;
- #endif
+ delete xServerAddrABSTRACT;
+
+#endif
struct stat statInfo;
@@ -4039,10 +4040,6 @@ void SetupDisplaySocket(int &addr_family, sockaddr *&addr,
addr = (sockaddr *) xServerAddrUNIX;
addr_length = sizeof(sockaddr_un);
- #ifdef __linux__
-
- }
- #endif
}
else
{