diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-16 00:35:55 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-06-16 00:35:55 +0000 |
commit | 2a2434d95e2eb10c629f33e7e67a6456bc4f6648 (patch) | |
tree | 4aa5acc9dbbbafbfcd4537d8f67a854da4781203 /host/lib/transport | |
parent | b4b80f1f6e59fa02d508af860f1a572c9224b975 (diff) | |
parent | ca6417739de4e5344325e96887dcdbf8311e265b (diff) | |
download | uhd-2a2434d95e2eb10c629f33e7e67a6456bc4f6648.tar.gz uhd-2a2434d95e2eb10c629f33e7e67a6456bc4f6648.tar.bz2 uhd-2a2434d95e2eb10c629f33e7e67a6456bc4f6648.zip |
Merge branch 'sched' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
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 |