Fix commit d07cd37b993d3c9beded20323174633b806196b5
commit994e0d09677788eece6b936fd23679a3eadb4564
authorJeremy Allison <jra@samba.org>
Wed, 17 Feb 2010 17:24:34 +0000 (17 09:24 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 19 Feb 2010 13:32:29 +0000 (19 14:32 +0100)
tree535946873cda1d5a3c61a50a98a1014ddc4fb29b
parent30028e3328dc450e71ac9e070ec8b9eea193800a
Fix commit d07cd37b993d3c9beded20323174633b806196b5

Which was:

    tsocket/bsd: fix bug #7115 FreeBSD includes the UDP header in FIONREAD

Metze, this has to have been wrong - you are throwing away the talloc_realloc
pointer returned. Also no error checking. Please review.

Thank goodness for gcc warnings :-).

Jeremy.
(cherry picked from commit 936828de71023d90aaec6c1dba84052246bbad11)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit ba85facc2ce212d52140086f876eb4915b40bf22)
lib/tsocket/tsocket_bsd.c