[PATCH 09/11] ipc_glue: Introduce constant for service name len

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
---
 exec/ipc_glue.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/exec/ipc_glue.c b/exec/ipc_glue.c
index 5751c81..a824b99 100644
--- a/exec/ipc_glue.c
+++ b/exec/ipc_glue.c
@@ -70,10 +70,12 @@ static int32_t ipc_fc_totem_queue_level; /* percentage used */
 static int32_t ipc_fc_sync_in_process; /* boolean */
 static int32_t ipc_allow_connections = 0; /* boolean */
 
+#define CS_IPCS_MAPPER_SERV_NAME		256
+
 struct cs_ipcs_mapper {
 	int32_t id;
 	qb_ipcs_service_t *inst;
-	char name[256];
+	char name[CS_IPCS_MAPPER_SERV_NAME];
 };
 
 struct outq_item {
-- 
1.7.1

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux