]> git.tuebingen.mpg.de Git - paraslash.git/commit
net: fix broken dccp_available_ccids()
authorGerrit Renker <grenker@cscs.ch>
Sat, 13 Mar 2010 12:08:32 +0000 (13:08 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 13 Mar 2010 12:08:32 +0000 (13:08 +0100)
commit23f053fc0a392079213bf2f979b7c098baa9d30c
tree7a124c7bbcd74c068a14aa2019c16061ec4bc28f
parentbb62e1e588651b9f29aeb118942b6b7745373f76
net: fix broken dccp_available_ccids()

This fixes a dumb programming error in dccp_available_ccids(), where a
pointer to 1-byte address was type cast to a socklent_t (typically 4 byte)
pointer. Changed the interface to not expose internals of call.

In addition, this patch adds a missing close() in the error path of makesock().
dccp_recv.c
dccp_send.c
net.c
net.h