/mandos/release

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

« back to all changes in this revision

Viewing changes to plugin-runner.c

* plugin-runner.c (main): Move variables "tmpmax" and "tmp" into
                          the innermost scope possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
317
317
  fd_set rfds_all;
318
318
  int ret, maxfd = 0;
319
319
  ssize_t sret;
320
 
  intmax_t tmpmax;
321
320
  uid_t uid = 65534;
322
321
  gid_t gid = 65534;
323
322
  bool debug = false;
382
381
  
383
382
  error_t parse_opt(int key, char *arg, __attribute__((unused))
384
383
                    struct argp_state *state){
385
 
    char *tmp;
386
384
    switch(key){
 
385
      char *tmp;
 
386
      intmax_t tmpmax;
387
387
    case 'g':                   /* --global-options */
388
388
      if(arg != NULL){
389
389
        char *plugin_option;