diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c index 7e787e4..2fa5258 100644 --- a/src/client.c +++ b/src/client.c @@ -849,8 +849,12 @@ static int og_resp_refresh(json_t *data, struct og_client *cli) * client using linux/windows mode. */ if (status) { - if (!strncmp(status, "LINUX", strlen("LINUX"))) { + if (!strncmp(status, "LINUXS", strlen("LINUXS"))) { + cli->status = OG_CLIENT_STATUS_LINUX_SESSION; + } else if (!strncmp(status, "LINUX", strlen("LINUX"))) { cli->status = OG_CLIENT_STATUS_LINUX; + } else if (!strncmp(status, "WINS", strlen("WINS"))) { + cli->status = OG_CLIENT_STATUS_WIN_SESSION; } else if (!strncmp(status, "WIN", strlen("WIN"))) { cli->status = OG_CLIENT_STATUS_WIN; } |