/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugin-runner.c

  • Committer: Teddy Hogeborn
  • Date: 2008-08-31 16:04:47 UTC
  • mfrom: (24.1.77 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20080831160447-2xte5k90onspphki
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
356
356
    { .name = NULL }
357
357
  };
358
358
  
359
 
  error_t parse_opt (int key, char *arg, __attribute__((unused))
360
 
                     struct argp_state *state) {
 
359
  error_t parse_opt (int key, char *arg, __attribute__((unused)) struct argp_state *state) {
361
360
    /* Get the INPUT argument from `argp_parse', which we know is a
362
361
       pointer to our plugin list pointer. */
363
362
    switch (key) {
508
507
    custom_argv[0] = argv[0];
509
508
    custom_argv[1] = NULL;
510
509
 
511
 
    /* for each line in the config file, strip whitespace and ignore
512
 
       commented text */
 
510
    /* for each line in the config file, strip whitespace and ignore commented text */
513
511
    while(true){
514
512
      sret = getline(&org_line, &size, conffp);
515
513
      if(sret == -1){