- int nb,index;
- m_host_t *hosts;
- VALUE rb_hosts;
- nb = MSG_get_host_number();
- hosts = MSG_get_host_table();
- rb_hosts = rb_ary_new2(nb);
-
- for(index=0 ; index<nb; index++)
- rb_ary_push(rb_hosts,Data_Wrap_Struct(class, 0, rb_host_free, hosts[index]));
-
- return rb_hosts;
+ int nb, index;
+ m_host_t *hosts;
+ VALUE rb_hosts;
+ nb = MSG_get_host_number();
+ hosts = MSG_get_host_table();
+ rb_hosts = rb_ary_new2(nb);
+
+ for (index = 0; index < nb; index++)
+ rb_ary_push(rb_hosts,
+ Data_Wrap_Struct(class, 0, rb_host_free, hosts[index]));
+
+ return rb_hosts;