/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 plugins.d/mandos-client.c

  • Committer: Teddy Hogeborn
  • Date: 2011-12-30 18:48:49 UTC
  • mto: (237.7.89 trunk)
  • mto: This revision was merged to the branch mainline in revision 290.
  • Revision ID: teddy@recompile.se-20111230184849-fvec587apz6j54pn
* plugins.d/mandos-client.c (run_network_hooks): Bug fix: setenv()
                                                 takes three
                                                 arguments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1474
1474
        }
1475
1475
        free(delaystring);
1476
1476
        if(connect_to != NULL){
1477
 
          ret = setenv("CONNECT", connect_to);
 
1477
          ret = setenv("CONNECT", connect_to, 1);
1478
1478
          if(ret == -1){
1479
1479
            perror_plus("setenv");
1480
1480
            _exit(EX_OSERR);