Rainer Gerhards 48c248d626 impstats: fix invalid counter definitions for getrusage() reporting
some of the counters were defined as  int (32 bit) vs. intctr_t (64 bit).
On some platforms "long" seems to be 64bit, and getrusage() provides
what we store as int via long. So this caused truncation and/or overflow.
This had undefined effects. Most often, everything worked fine
for values smaller than 2^31 but sometimes we got negative values.

closes https://github.com/rsyslog/rsyslog/issues/1517
2017-12-31 17:12:51 +01:00
..
2017-12-28 18:03:57 +01:00
2017-11-23 09:15:56 +01:00
2017-12-24 11:56:43 +01:00
2017-01-17 08:54:37 +01:00
2017-12-30 10:58:14 +01:00
2017-01-17 08:54:37 +01:00
2017-01-17 08:54:37 +01:00
2016-12-09 14:59:30 +01:00