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

  • Committer: Teddy Hogeborn
  • Date: 2024-09-07 23:55:04 UTC
  • mto: This revision was merged to the branch mainline in revision 410.
  • Revision ID: teddy@recompile.se-20240907235504-1vbgry3s18ch1ux4
Improve formatting in mandos-ctl; no code changes

* mandos-ctl: Add empty lines, break long lines, remove superflous
  empty lines, spaces and dead code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
372
372
      error_plus(0, errno, "scandir");
373
373
    }
374
374
    if(ret > 0){
375
 
      const int num_entries = ret;
376
 
      for(int i = 0; i < num_entries; i++){
 
375
      for(int i = ret-1; i >= 0; i--){
377
376
        if(proc_id == 0){
378
377
          ret = sscanf(direntries[i]->d_name, "%" SCNuMAX, &proc_id);
379
378
          if(ret < 0){