Index: /branches/eam_branches/ipp-20140904/Ohana/src/libdvo/include/dvo.h
===================================================================
--- /branches/eam_branches/ipp-20140904/Ohana/src/libdvo/include/dvo.h	(revision 37651)
+++ /branches/eam_branches/ipp-20140904/Ohana/src/libdvo/include/dvo.h	(revision 37652)
@@ -994,4 +994,6 @@
 int HostTableTestHost (SkyRegion *region, int hostID);
 
+void InitHost (HostInfo *host);
+
 HostTableGroup *HostTableGroups (HostTable *table, int *ngroups);
 int HostTableGroupWaitJobsGetIO (HostTableGroup *table, char *file, int lineno, int VERBOSE);
Index: /branches/eam_branches/ipp-20140904/Ohana/src/libdvo/src/HostTable.c
===================================================================
--- /branches/eam_branches/ipp-20140904/Ohana/src/libdvo/src/HostTable.c	(revision 37651)
+++ /branches/eam_branches/ipp-20140904/Ohana/src/libdvo/src/HostTable.c	(revision 37652)
@@ -3,15 +3,20 @@
 # include <sys/wait.h>
 
+void InitHost (HostInfo *host) {
+  host->hostname = NULL;
+  host->pathname = NULL;
+  host->results = NULL;
+  host->stdio[HOST_STDIN] = -1;
+  host->stdio[HOST_STDOUT] = -1;
+  host->stdio[HOST_STDERR] = -1;
+  host->pid = 0;
+  return;
+}
+
 void InitHosts (HostInfo *hosts, int Nhosts, int NHOSTS) {
 
   int i;
   for (i = Nhosts; i < NHOSTS; i++) {
-    hosts[i].hostname = NULL;
-    hosts[i].pathname = NULL;
-    hosts[i].results = NULL;
-    hosts[i].stdio[HOST_STDIN] = -1;
-    hosts[i].stdio[HOST_STDOUT] = -1;
-    hosts[i].stdio[HOST_STDERR] = -1;
-    hosts[i].pid = 0;
+    InitHost (&hosts[i]);
   }
   return;
