IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 5, 2006, 1:39:43 PM (20 years ago)
Author:
eugene
Message:

fixed up the trange concepts, fixed bugs in queuedrop/queuepop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/queuedrop.c

    r8177 r8192  
    33int queuedrop (int argc, char **argv) {
    44 
    5   int N, Key;
     5  int N;
     6  char *Key;
    67  char *var;
    78  char *line;
     
    910  Queue *queue;
    1011
    11   Key = -1;
     12  Key = NULL;
    1213  if ((N = get_argument (argc, argv, "-key"))) {
    1314    remove_argument (N, &argc, argv);
    14     Key = atoi (argv[N]);
     15    Key = strcreate (argv[N]);
    1516    remove_argument (N, &argc, argv);
    1617    Value = strcreate (argv[N]);
    1718    remove_argument (N, &argc, argv);
    1819  }
    19 
    2020
    2121  if ((argc != 2) || (Key == -1)) {
Note: See TracChangeset for help on using the changeset viewer.