IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5382


Ignore:
Timestamp:
Oct 19, 2005, 9:16:02 PM (21 years ago)
Author:
eugene
Message:

fixed exit calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/addstarc.c

    r5347 r5382  
    3131      }
    3232      Send_Stars (BindSocket, stars, Nstars, FALSE);
    33       exit (0);
     33      break;
    3434
    3535    case M_REFLIST:
     
    4141      Send_AddstarClientOptions (BindSocket, &options, 1, TRUE);
    4242      Send_Stars (BindSocket, stars, Nstars, FALSE);
    43       exit (0);
     43      break;
    4444
    4545    case M_REFCAT:
     
    4949      Send_GSCRegion (BindSocket, &UserPatch, 1, TRUE);
    5050      SendMessage (BindSocket, argv[1]);
     51      break;
    5152
    52       exit (0);
     53    default:
     54      fprintf (stderr, "unknown addstar mode\n");
     55      exit (1);
    5356  }
    54   exit (1);
     57  exit (0);
    5558}
Note: See TracChangeset for help on using the changeset viewer.