diff options
| author | Tim Orling <TicoTimo@gmail.com> | 2016-03-24 13:55:07 -0700 |
|---|---|---|
| committer | Tim Orling <TicoTimo@gmail.com> | 2016-03-24 13:56:26 -0700 |
| commit | 3aacbb82caa93c016f08bbefda9860e42d11c8b2 (patch) | |
| tree | 602638f62ec21f806bdfb538a68b0b0200f7a089 /bwm-ng-0.6-format-security.patch | |
| parent | 3bfe6c737caca25ab2a5449922309350f7e975c8 (diff) | |
| download | bwm-ng-master.tar.gz bwm-ng-master.tar.xz bwm-ng-master.zip | |
Drop unused security patch.
Diffstat (limited to 'bwm-ng-0.6-format-security.patch')
| -rw-r--r-- | bwm-ng-0.6-format-security.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/bwm-ng-0.6-format-security.patch b/bwm-ng-0.6-format-security.patch deleted file mode 100644 index 89a67bb..0000000 --- a/bwm-ng-0.6-format-security.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/src/output.c -+++ a/src/output.c -@@ -223,8 +223,8 @@ int print_header(int option) { - fprintf(tmp_out_file,"<title>bwm-ng stats</title>\n</head>\n<body>\n"); - } - fprintf(tmp_out_file,"<div class=\"bwm-ng-header\">bwm-ng bwm-ng v" VERSION " (refresh %is); input: ",html_refresh); -- fprintf(tmp_out_file,input2str()); -- fprintf(tmp_out_file,show_all_if2str()); -+ fprintf(tmp_out_file,"%s",input2str()); -+ fprintf(tmp_out_file,"%s",show_all_if2str()); - fprintf(tmp_out_file,"</div><table class=\"bwm-ng-output\">"); - fprintf(tmp_out_file,"<tr class=\"bwm-ng-head\"><td class=\"bwm-ng-name\">Interface</td><td>Rx</td><td>Tx</td><td>Total</td></tr>"); - break; -@@ -234,7 +234,7 @@ int print_header(int option) { - if (output_method==PLAIN_OUT && ansi_output) printf("\033[1;2H"); - printf("bwm-ng v" VERSION " (delay %2.3fs); ",(float)delay/1000); - if (output_method==PLAIN_OUT) printf("press 'ctrl-c' to end this%s",(ansi_output ? "\033[2;2H" : "")); else printf("input: "); -- printf(input2str()); -+ printf("%s", input2str()); - printf("%s\n",show_all_if2str()); - if (output_method==PLAIN_OUT) { - if (ansi_output) |
