Преглед изворни кода

totemrrp: Make status string shorter

Status string should be same lenght as needed for cfg
ringstatusget function.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Jan Friesse пре 12 година
родитељ
комит
5dc3fc4bda
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      exec/totemrrp.c

+ 1 - 1
exec/totemrrp.c

@@ -180,7 +180,7 @@ struct rrp_algo {
 
 };
 
-#define STATUS_STR_LEN 1024
+#define STATUS_STR_LEN 512
 struct totemrrp_instance {
 	qb_loop_t *poll_handle;