debian/patches/kill_in_transit
raw| 1 | Transit attached files are always killed after having been sent to a remote |
| 2 | system. |
| 3 | |
| 4 | --- a/ifgate/attach.c |
| 5 | +++ b/ifgate/attach.c |
| 6 | @@ -108,7 +108,9 @@ char flavor; |
| 7 | S(pn),ascfnode(addr,0x1f)); |
| 8 | |
| 9 | fseek(flo,0L,SEEK_END); |
| 10 | - if (i > 0) /* only received files can be killed */ |
| 11 | + if (i == 1) /* transit files must be killed */ |
| 12 | + fprintf(flo,"^"); |
| 13 | + else if (i > 1) /* public files must not be killed */ |
| 14 | switch (mode) |
| 15 | { |
| 16 | case 0: break; |