[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r4288 - gnuradio/branches/developers/trondeau/ethernet
From: |
trondeau |
Subject: |
[Commit-gnuradio] r4288 - gnuradio/branches/developers/trondeau/ethernet/gnuradio-core/src/lib/io |
Date: |
Wed, 17 Jan 2007 15:46:35 -0700 (MST) |
Author: trondeau
Date: 2007-01-17 15:46:35 -0700 (Wed, 17 Jan 2007)
New Revision: 4288
Modified:
gnuradio/branches/developers/trondeau/ethernet/gnuradio-core/src/lib/io/gr_udp_sink.cc
gnuradio/branches/developers/trondeau/ethernet/gnuradio-core/src/lib/io/gr_udp_sink.i
Log:
bug fix
Modified:
gnuradio/branches/developers/trondeau/ethernet/gnuradio-core/src/lib/io/gr_udp_sink.cc
===================================================================
---
gnuradio/branches/developers/trondeau/ethernet/gnuradio-core/src/lib/io/gr_udp_sink.cc
2007-01-17 22:44:13 UTC (rev 4287)
+++
gnuradio/branches/developers/trondeau/ethernet/gnuradio-core/src/lib/io/gr_udp_sink.cc
2007-01-17 22:46:35 UTC (rev 4288)
@@ -85,7 +85,7 @@
omni_mutex_lock l(d_mutex); // hold mutex for duration of this function
// create socket
- if(d_socket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP) == NULL) {
+ if((d_socket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == NULL) {
perror("socket open");
throw std::runtime_error("can't open socket");
}
Modified:
gnuradio/branches/developers/trondeau/ethernet/gnuradio-core/src/lib/io/gr_udp_sink.i
===================================================================
---
gnuradio/branches/developers/trondeau/ethernet/gnuradio-core/src/lib/io/gr_udp_sink.i
2007-01-17 22:44:13 UTC (rev 4287)
+++
gnuradio/branches/developers/trondeau/ethernet/gnuradio-core/src/lib/io/gr_udp_sink.i
2007-01-17 22:46:35 UTC (rev 4288)
@@ -25,17 +25,17 @@
gr_udp_sink_sptr
gr_make_udp_sink (size_t itemsize,
- const char *ipaddrl, unsigned short portl,
- const char *ipaddrr, unsigned short portr,
- unsigned int mtu=540);
+ const char *ipaddrl, unsigned short portl,
+ const char *ipaddrr, unsigned short portr,
+ unsigned int mtu=540);
class gr_udp_sink : public gr_sync_block
{
protected:
gr_udp_sink (size_t itemsize,
- const char *ipaddrl, unsigned short portl,
- const char *ipaddrr, unsigned short portr,
- unsigned int mtu);
+ const char *ipaddrl, unsigned short portl,
+ const char *ipaddrr, unsigned short portr,
+ unsigned int mtu);
bool open();
void close();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r4288 - gnuradio/branches/developers/trondeau/ethernet/gnuradio-core/src/lib/io,
trondeau <=