aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 12:34:48 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 12:34:48 +0200
commitecaeede3374a0bc533425923332543bedf7e0cc4 (patch)
treea6314f91c53e07dc58e417e0c0e1adb4e5e73ecd /src
parent9797ff818a594c09cc70da7613bb98f03948c5c8 (diff)
downloadremote-logon-service-ecaeede3374a0bc533425923332543bedf7e0cc4.tar.gz
remote-logon-service-ecaeede3374a0bc533425923332543bedf7e0cc4.tar.bz2
remote-logon-service-ecaeede3374a0bc533425923332543bedf7e0cc4.zip
src/server.c: Parenthesis fix.
Diffstat (limited to 'src')
-rw-r--r--src/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.c b/src/server.c
index dd18196..d3fa417 100644
--- a/src/server.c
+++ b/src/server.c
@@ -162,7 +162,7 @@ server_new_from_json (JsonObject * object)
if (g_strcmp0(proto, "ICA") == 0 || g_strcmp0(proto, "ica") == 0) {
newserver = citrix_server_new_from_json(object);
}
- else if (g_strcmp0(proto, "freerdp") == 0 || g_strcmp0(proto, "rdp") == 0 || g_strcmp0(proto, "freerdp2") == 0 || g_strcmp0(proto, "RDP") == 0 || g_strcmp0(proto, "FreeRDP") == 0) || g_strcmp0(proto, "FreeRDP2") == 0 {
+ else if (g_strcmp0(proto, "freerdp") == 0 || g_strcmp0(proto, "rdp") == 0 || g_strcmp0(proto, "freerdp2") == 0 || g_strcmp0(proto, "RDP") == 0 || g_strcmp0(proto, "FreeRDP") == 0 || g_strcmp0(proto, "FreeRDP2") == 0) {
newserver = rdp_server_new_from_json(object);
}
else if (g_strcmp0(proto, "x2go") == 0 || g_strcmp0(proto, "X2go") == 0 || g_strcmp0(proto, "X2Go") == 0 || g_strcmp0(proto, "X2GO") == 0 || g_strcmp0(proto, "x2GO") == 0 || g_strcmp0(proto, "x2gO") == 0) {