projects
/
debian
/
gnuradio
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99a39a4
)
Correct update of d_temp_offset (parallel construction)
author
Eric Blossom
<eb@comsec.com>
Thu, 20 May 2010 03:11:35 +0000
(20:11 -0700)
committer
Eric Blossom
<eb@comsec.com>
Thu, 20 May 2010 03:11:35 +0000
(20:11 -0700)
gnuradio-core/src/lib/io/gr_udp_source.cc
patch
|
blob
|
history
diff --git
a/gnuradio-core/src/lib/io/gr_udp_source.cc
b/gnuradio-core/src/lib/io/gr_udp_source.cc
index 063cd7b507fa550930295d9302b07eb3f7311f3f..cc98492805914e34a5d2e263731b19c5772b0389 100755
(executable)
--- a/
gnuradio-core/src/lib/io/gr_udp_source.cc
+++ b/
gnuradio-core/src/lib/io/gr_udp_source.cc
@@
-242,7
+242,8
@@
gr_udp_source::work (int noutput_items,
// Update indexing of amount of bytes left in the buffer
d_residual -= nbytes;
- d_temp_offset = d_temp_offset+d_residual;
+ d_temp_offset += nbytes;
+ // FIXME? Returning here could simplify life...
}
#if USE_SELECT