Changeset 37979
- Timestamp:
- Mar 13, 2015, 1:37:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150112/Ohana/src/relastro/src/share_images_pos.c
r37963 r37979 51 51 } 52 52 53 static char *masterHost = "master"; 53 54 int slurp_image_pos (Catalog *catalog, int Ncatalog, RegionHostTable *regionHosts, int nloop) { 54 55 … … 62 63 INITTIME; 63 64 int myHost = regionHosts->index[REGION_HOST_ID]; 64 char *myHostName = regionHosts->hosts[myHost].hostname;65 char *myHostName = (myHost == -1) ? masterHost : regionHosts->hosts[myHost].hostname; 65 66 66 67 fprintf (stderr, "grabbing image mags from other hosts...\n");
Note:
See TracChangeset
for help on using the changeset viewer.
