mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04: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 0b5b100fc9aaa54257ffa16a083a862c031c335b
This commit is contained in:
parent
0d9615292e
commit
ec5e0f421c