LCOV - code coverage report
Current view: top level - src/client - delete.c (source / functions) Hit Total Coverage
Test: burp-coverage-clean.info Lines: 0 9 0.0 %
Date: 2015-10-31 Functions: 0 1 0.0 %

          Line data    Source code
       1             : #include "../burp.h"
       2             : #include "../asfd.h"
       3             : #include "../cmd.h"
       4             : #include "../log.h"
       5             : 
       6           0 : int do_delete_client(struct asfd *asfd, struct conf **confs)
       7             : {
       8           0 :         char msg[128]="";
       9           0 :         const char *backup=get_string(confs[OPT_BACKUP]);
      10           0 :         snprintf(msg, sizeof(msg), "Delete %s", backup?backup:"");
      11           0 :         if(asfd->write_str(asfd, CMD_GEN, msg)
      12           0 :           || asfd->read_expect(asfd, CMD_GEN, "ok"))
      13           0 :                 return -1;
      14           0 :         logp("Deletion in progress\n");
      15           0 :         return 0;
      16             : }

Generated by: LCOV version 1.10