On Thu, 17 Apr 2014 07:19:05 +0200, Richard Cochran wrote:
I don't see why you need to call into the transport twice.
Can't you pass addr=NULL in order to get the default address?
Makes sense.
Jiri
--
Jiri Benc
Also, document transport_send, transport_peer and transport_sendto usage.
Signed-off-by: Jiri Benc jb...@redhat.com
---
transport.c |8
transport.h | 33 +
2 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/transport.c b/transport.c
Changes in v2: removed default_addr, passing NULL address to transport send
methods instead.
Jiri Benc (2):
Common type holding an address
Implement transport_sendto
address.h | 38 +++
msg.h |6
raw.c | 50