diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-01-18 21:59:58 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-07 14:57:15 +0200 |
commit | d282724c4abda9e59a029c2c485d7d046ff647db (patch) | |
tree | 38dd040e1465931f466246665b2e7219d945b4f3 /nxdialog/README.md | |
parent | fbf18cfdc8fc77f38fdf1559a8f1659f43ba9574 (diff) | |
download | nx-libs-d282724c4abda9e59a029c2c485d7d046ff647db.tar.gz nx-libs-d282724c4abda9e59a029c2c485d7d046ff647db.tar.bz2 nx-libs-d282724c4abda9e59a029c2c485d7d046ff647db.zip |
os/Waitfor.c: simplify macro handling
1. indent ifdefs
2. add some logic at start that unset NX_TRANS_WAKEUP and
NX_TRANS_DEBUG if NX_TRANS_SOCKET is unset. This way we only have to
check for one macro and not all three.
3. remove redundant macro checks
4. decouple debug printfs by always running the original code and adding the
identical check in #ifdef NX_TRANS_DEBUG
Diffstat (limited to 'nxdialog/README.md')
0 files changed, 0 insertions, 0 deletions