diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-11-02 13:20:32 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-11-02 13:20:32 +0100 |
commit | cd0a7387218ba3f5b26a3cba02e686f00134b930 (patch) | |
tree | b78ce5cfa826830f0a5a455c730fb822a6e7485b | |
parent | 85917b95639bf56cac266e2ec572b071ddabfd24 (diff) | |
download | librda-cd0a7387218ba3f5b26a3cba02e686f00134b930.tar.gz librda-cd0a7387218ba3f5b26a3cba02e686f00134b930.tar.bz2 librda-cd0a7387218ba3f5b26a3cba02e686f00134b930.zip |
src/rda.c: Don't fail if no remote technology is enabled at configure time.
-rw-r--r-- | src/rda.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -57,21 +57,20 @@ gboolean rda_session_is_remote (void) { + if (rda_session_is_local()) + remote_technology = REMOTE_TECHNOLOGY_NONE; #ifdef WITH_X2GO_AWARENESS - if (rda_session_is_x2go()) + else if (rda_session_is_x2go()) return TRUE; #endif #ifdef WITH_OGON_AWARENESS - if (rda_session_is_ogon()) + else if (rda_session_is_ogon()) return TRUE; #endif /* possibly add more checks for other remote desktop technologies */ - else if (rda_session_is_local()) - remote_technology = REMOTE_TECHNOLOGY_NONE; - else remote_technology = REMOTE_TECHNOLOGY_UNKNOWN; |