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

  • Committer: Teddy Hogeborn
  • Date: 2016-03-17 21:14:12 UTC
  • Revision ID: teddy@recompile.se-20160317211412-yp8msw4v4ifx4i4x
Client: Remove dead code in plugin-runner

WCOREDUMP is always a subset of WTERMSIG; ignore WCOREDUMP.

* plugin-runner.c (main): Remove WCOREDUMP clause.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1423
1423
                                               &decrypted_buffer, mc);
1424
1424
    if(decrypted_buffer_size >= 0){
1425
1425
      
1426
 
      clearerr(stdout);
1427
1426
      written = 0;
1428
1427
      while(written < (size_t) decrypted_buffer_size){
1429
1428
        if(quit_now){
1445
1444
        }
1446
1445
        written += (size_t)ret;
1447
1446
      }
1448
 
      ret = fflush(stdout);
1449
 
      if(ret != 0){
1450
 
        int e = errno;
1451
 
        if(debug){
1452
 
          fprintf_plus(stderr, "Error writing encrypted data: %s\n",
1453
 
                       strerror(errno));
1454
 
        }
1455
 
        errno = e;
1456
 
        goto mandos_end;
1457
 
      }
1458
1447
      retval = 0;
1459
1448
    }
1460
1449
  }