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

Fix build error with -DDEBUG set.

(Logical change 1.80)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@284 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake пре 21 година
родитељ
комит
f0d161bbe0
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      exec/evs.c

+ 2 - 0
exec/evs.c

@@ -244,9 +244,11 @@ static int message_handler_req_evs_join (struct conn_info *conn_info, void *mess
 	}
 
 #ifdef DEBUG
+{ int i;
 	for (i = 0; i < req_lib_evs_join->group_entries; i++) {
 		printf ("Joining group %s\n", req_lib_evs_join->groups[i].key);
 	}
+}
 #endif
 	addr = realloc (conn_info->ais_ci.u.libevs_ci.groups,
 		sizeof (struct evs_group) *