IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40576 for trunk


Ignore:
Timestamp:
Dec 5, 2018, 4:57:35 PM (8 years ago)
Author:
eugene
Message:

copy host list to sorted unique subset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/skyregion.c

    r40575 r40576  
    165165
    166166  sort_skylist_by_index (input);
    167   for (int i = 0; i < input->Nregions; i++) {
    168     fprintf (stderr, "idx: %s : %s : %d\n", input->regions[i][0].name, input->filename[i], input->regions[i][0].index);
    169   }
     167  // for (int i = 0; i < input->Nregions; i++) {
     168  //   fprintf (stderr, "idx: %s : %s : %d\n", input->regions[i][0].name, input->filename[i], input->regions[i][0].index);
     169  // }
    170170
    171171  SkyList *list;
     
    196196  REALLOCATE (list[0].regions, SkyRegion *, Nout);
    197197  REALLOCATE (list[0].filename, char *, Nout);
     198
     199  strcpy (list[0].hosts, input[0].hosts);
    198200
    199201  // free the input list?
Note: See TracChangeset for help on using the changeset viewer.