> > + > > + for (i = 0; cgroup->controller[i] != NULL; i++) { > > +new_controller: > > + for (j = 0; j < template_table_index; j++) { > > + > > + t_cgroup = &template_table[j]; > > + if (strcmp(t_cgroup->name, template_name) != 0) { > > + /* tempate name does not match skip > template */ > > + continue; > > + } > > + > > + /* template name match */ > > + for (k = 0; t_cgroup->controller[k] != NULL; k++) { > > + if (strcmp((cgroup->controller[i])->name, > > + (t_cgroup->controller[k])->name) > != 0) { > > + continue; > > + } > > I am lost in these three loops.
I agree. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel