summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/message_sink_impl.cc
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
commit597b93798a804cde1783d6d2ab53b348d57c44cd (patch)
treeb65e73bb0de634ff5d209b15971ebdabf369a45c /gr-blocks/lib/message_sink_impl.cc
parent1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff)
Removing trailing/extra whitespaces before release.
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'gr-blocks/lib/message_sink_impl.cc')
-rw-r--r--gr-blocks/lib/message_sink_impl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/lib/message_sink_impl.cc b/gr-blocks/lib/message_sink_impl.cc
index 4dfcc6396b..3dc4102c48 100644
--- a/gr-blocks/lib/message_sink_impl.cc
+++ b/gr-blocks/lib/message_sink_impl.cc
@@ -93,7 +93,7 @@ namespace gr {
}
}
assert(packet_length != 0);
-
+
// FIXME run this multiple times if input_items >= N * packet_length
if (noutput_items >= packet_length ) {
// If the message queue is full we drop the packet.
@@ -110,7 +110,7 @@ namespace gr {
} else {
return 0;
}
- } else {
+ } else {
// If the queue if full we drop all the data we got.
if (!d_msgq->full_p()) {
// build a message to hold whatever we've got
@@ -119,7 +119,7 @@ namespace gr {
noutput_items, // arg2 for other end (redundant)
noutput_items * d_itemsize); // len of msg
memcpy(msg->msg(), in, noutput_items * d_itemsize);
-
+
d_msgq->handle(msg); // send it
}
@@ -129,4 +129,4 @@ namespace gr {
} /* namespace blocks */
} /* namespace gr */
-
+