/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: 2016-06-22 05:30:59 UTC
  • mto: This revision was merged to the branch mainline in revision 857.
  • Revision ID: teddy@recompile.se-20160622053059-wkztwp8dzylnwcua
Tags: version-1.7.9-1
* Makefile (version): Change to 1.7.9.
* NEWS (Version 1.7.9): Add new entry.
* debian/changelog (1.7.9-1): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
/*
3
3
 * Plymouth - Read a password from Plymouth and output it
4
4
 * 
5
 
 * Copyright © 2010-2017 Teddy Hogeborn
6
 
 * Copyright © 2010-2017 Björn Påhlsson
 
5
 * Copyright © 2010-2016 Teddy Hogeborn
 
6
 * Copyright © 2010-2016 Björn Påhlsson
7
7
 * 
8
8
 * This program is free software: you can redistribute it and/or
9
9
 * modify it under the terms of the GNU General Public License as
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");