monitor: request-server: change state condition
authorSung-hun Kim <sfoon.kim@samsung.com>
Fri, 11 Feb 2022 12:29:24 +0000 (21:29 +0900)
committerSung-hun Kim <sfoon.kim@samsung.com>
Mon, 21 Feb 2022 00:45:52 +0000 (09:45 +0900)
Change-Id: I3d1ed76bf58557a5d9b614d272017b76ccc84c15
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
src/monitor/request-server.c

index b88270b68ff4da4af63be7791c3e2712d93d4278..3d4571bc94836700d5247959a38d0381ead80356 100644 (file)
@@ -404,8 +404,7 @@ static void handle_request_in_connected(struct request_client *client, char *buf
        id = atoi(tokens[1]);
 
        /* expect start, set_attrs, exit calls */
-       if (request_type != REQUEST_START && request_type != REQUEST_SET_ATTRS
-                       && request_type != REQUEST_EXIT) {
+       if (request_type != REQUEST_START && request_type != REQUEST_SET_ATTRS) {
                _E("client-%d: state: %d Invalid request type: %s client-%d",
                                client->id, client->state,
                                request_type_str[request_type], client->id);