messages_client REFACTOR add missing parentheses
diff --git a/src/messages_client.c b/src/messages_client.c
index b210d7c..bc58b86 100644
--- a/src/messages_client.c
+++ b/src/messages_client.c
@@ -47,7 +47,7 @@
     struct nc_rpc_act_generic *rpc;
 
     NC_CHECK_ARG_RET(NULL, data, NULL);
-    if (data->next || data->prev != data) {
+    if (data->next || (data->prev != data)) {
         ERR(NULL, "nc_rpc_act_generic missing data");
         return NULL;
     }