diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-10 03:09:59 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-10 03:09:59 +0000 |
commit | 55338617fea9fe79ff62e76e674b6c08580ac562 (patch) | |
tree | 1686c74d9abb86a450b9bc1fe25ddb0251b997ab /host/lib/usrp | |
parent | e5a05a4476a6b30b2c36bef71a9a67611fae7cc4 (diff) | |
parent | c898ca9751d1b274ae8f8f7afc2d5bc54b6ef30c (diff) | |
download | uhd-55338617fea9fe79ff62e76e674b6c08580ac562.tar.gz uhd-55338617fea9fe79ff62e76e674b6c08580ac562.tar.bz2 uhd-55338617fea9fe79ff62e76e674b6c08580ac562.zip |
Merge branch 'error_handling' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/usrp2/io_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp index 0853f48be..7e231095f 100644 --- a/host/lib/usrp/usrp2/io_impl.cpp +++ b/host/lib/usrp/usrp2/io_impl.cpp @@ -85,7 +85,7 @@ void usrp2_impl::io_impl::recv_pirate_loop( recv_pirate_crew_raiding = true; while(recv_pirate_crew_raiding){ managed_recv_buffer::sptr buff = zc_if->get_recv_buff(); - if (buff->size() == 0) continue; //ignore timeout buffers + if (not buff.get()) continue; //ignore timeout/error buffers try{ //extract the vrt header packet info |