X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fbase%2Ffilepush.cpp;h=eb80914e31ef7c6d0c903cb2e253d010ce90c6aa;hp=e3e2a13ad8e060a83678afbcfc9be841af0903da;hb=377c2adbf11ed3b293bced1a4195cefd8aa6110f;hpb=3811e5e3780b79b1ddc459c971c2ddce5f021470 diff --git a/lib/base/filepush.cpp b/lib/base/filepush.cpp index e3e2a13..eb80914 100644 --- a/lib/base/filepush.cpp +++ b/lib/base/filepush.cpp @@ -106,7 +106,7 @@ void eFilePushThread::thread() // eDebug("wrote %d bytes", w); if (w <= 0) { - if (errno == EINTR || errno == EAGAIN || errno == EBUSY) + if (w < 0 && (errno == EINTR || errno == EAGAIN || errno == EBUSY)) continue; eDebug("eFilePushThread WRITE ERROR"); sendEvent(evtWriteError);