X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fbase%2Ffilepush.cpp;h=eb80914e31ef7c6d0c903cb2e253d010ce90c6aa;hp=e3e2a13ad8e060a83678afbcfc9be841af0903da;hb=fe619dbed1c9bf14a0d442cc16d7e968769bbcc0;hpb=32c942bb429ba650aeeed2887f6caed7deed0e39 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);