Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/mail/procmail_ | ||
|---|---|---|
| 85 | 85 |
|
| 86 | 86 |
sub get_log_offset {
|
| 87 | 87 |
my ($size); |
| 88 |
# The offset is expressed as the number of lines to skip. We get to that
|
|
| 88 |
# The offset is expressed as the number of lines to skip. We get to that |
|
| 89 | 89 |
# point getting the total log size (get_log_size) and using tail for the |
| 90 |
# difference. If the offset is larger than the file itself, we get it
|
|
| 91 |
# whole (it might have just been rotated).
|
|
| 90 |
# difference. If the offset is larger than the file itself, we get it |
|
| 91 |
# whole (it might have just been rotated). |
|
| 92 | 92 |
$size = get_log_size(); |
| 93 | 93 |
|
| 94 | 94 |
$state->{offset} ||= 0;
|
Formats disponibles : Unified diff