mirror of
https://github.com/mirror/wget.git
synced 2025-01-05 09:50:27 +08:00
src/log.c: Fix unexpected termination in logprintf (tiny change)
When errno was set to EPIPE before call to logprintf (e.g. during close of
SSL connection that was reset by peer), it will unexpectedly terminate wget.
It should exit only when EPIPE was triggered by logging code.
Regression by 0b5b100fc9
This commit is contained in:
parent
0d9615292e
commit
ec5e0f421c