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

  • Committer: Teddy Hogeborn
  • Date: 2017-02-22 21:45:35 UTC
  • Revision ID: teddy@recompile.se-20170222214535-milf6w0b1krwpaex
Server bug fix: Use the mandos.conf "zeroconf" and "restore" options

Allow the "zeroconf" and "restore" options to actually work from the
mandos.conf file, in addition to command line options.

Closes: 855589
Reported-by: Pablo Abelenda <pabelenda@igalia.com>
Suggested-by: Pablo Abelenda <pabelenda@igalia.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
    }
182
182
    char **tmp;
183
183
    int i = 0;
184
 
    for (; argv[i]!=NULL; i++){
 
184
    for (; argv[i] != NULL; i++){
185
185
      tmp = realloc(new_argv, sizeof(const char *) * ((size_t)i + 2));
186
186
      if(tmp == NULL){
187
187
        error_plus(0, errno, "realloc");