diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-01-12 14:44:17 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-01-12 14:44:17 +0000 |
| commit | e5107b2bd4b6167a39e4574769a0d992082296d5 (patch) | |
| tree | dc175883c353fb58253ac1bf15268919d9e4dd33 /lib/base/filepush.cpp | |
| parent | e74488aadbdfd34aea53166c9447016f3fa3ac29 (diff) | |
| download | enigma2-e5107b2bd4b6167a39e4574769a0d992082296d5.tar.gz enigma2-e5107b2bd4b6167a39e4574769a0d992082296d5.zip | |
deal correct with errno
Diffstat (limited to 'lib/base/filepush.cpp')
| -rw-r--r-- | lib/base/filepush.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base/filepush.cpp b/lib/base/filepush.cpp index 2a894cf5..1999707f 100644 --- a/lib/base/filepush.cpp +++ b/lib/base/filepush.cpp @@ -109,7 +109,7 @@ void eFilePushThread::thread() // eDebug("wrote %d bytes", w); if (w <= 0) { - if (errno == EINTR) + if (errno == EINTR || errno == EAGAIN || errno == EBUSY) continue; eDebug("eFilePushThread WRITE ERROR"); sendEvent(evtWriteError); @@ -165,7 +165,7 @@ void eFilePushThread::thread() if (m_buf_end < 0) { m_buf_end = 0; - if (errno == EINTR) + if (errno == EINTR || errno == EBUSY || errno == EAGAIN) continue; if (errno == EOVERFLOW) { |
