syslogd: syslogd: don't *decrement* log_file->size on write failures
authorJoshua Judson Rosen <jrosen@harvestai.com>
Wed, 2 Jul 2014 17:41:41 +0000 (19:41 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 2 Jul 2014 17:41:41 +0000 (19:41 +0200)
commite46047aa87c9ec0b8e27d1d4ecfcb3e9798ddb8d
tree20f4641e15be847806a481b495b227846130d311
parenta28c1b21e1a3770b83fe9b15f26ec50f2e14e7f6
syslogd: syslogd: don't *decrement* log_file->size on write failures

Even if we fail to write to a log-file, and it's not growing,
it's not *shrinking* either....

Signed-off-by: Joshua Judson Rosen <jrosen@harvestai.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
sysklogd/syslogd.c