diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-14 18:47:40 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-06-14 18:47:40 -0700 |
commit | 6f9ce938de36476de68720e8090e9a92d0f2fefe (patch) | |
tree | 862b327c1e9f43d131db666de44f0a66571bd36e /host/lib/transport | |
parent | eac881f6dcc169749001d5147f0f32f36ad34a21 (diff) | |
parent | 00ca9fcc3d7645d3f1a9d7d767b8ccab110325bb (diff) | |
download | uhd-6f9ce938de36476de68720e8090e9a92d0f2fefe.tar.gz uhd-6f9ce938de36476de68720e8090e9a92d0f2fefe.tar.bz2 uhd-6f9ce938de36476de68720e8090e9a92d0f2fefe.zip |
Merge branch 'work'
Diffstat (limited to 'host/lib/transport')
-rw-r--r-- | host/lib/transport/udp_zero_copy_asio.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/host/lib/transport/udp_zero_copy_asio.cpp b/host/lib/transport/udp_zero_copy_asio.cpp index ced606777..c3c02707e 100644 --- a/host/lib/transport/udp_zero_copy_asio.cpp +++ b/host/lib/transport/udp_zero_copy_asio.cpp @@ -148,9 +148,12 @@ template<typename Opt> static void resize_buff_helper( if (target_size > 0){ size_t actual_size = udp_trans->resize_buff<Opt>(target_size); if (target_size != actual_size) std::cout << boost::format( - "Target %s buffer size: %d\n" - "Actual %s byffer size: %d" + "Target %s sock buff size: %d bytes\n" + "Actual %s sock buff size: %d bytes" ) % name % target_size % name % actual_size << std::endl; + else std::cout << boost::format( + "Current %s sock buff size: %d bytes" + ) % name % actual_size << std::endl; } //otherwise, ensure that the buffer is at least the minimum size |