Factor out the add_to_be_sent into a helper API for sockets
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Thu, 10 Apr 2014 02:13:08 +0000 (22:13 -0400)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Thu, 15 May 2014 13:44:00 +0000 (09:44 -0400)
commitcdb7cad96d77649802653cd36cf7927ab9d75493
treefbadf8181d0bf2520c9f67875d5d0126eea9759e
parentd176333b2351aacac86a7aefd3be9c3dd4faaa49
Factor out the add_to_be_sent into a helper API for sockets

The add_to_be_sent was duplicated in http/socks5/pseudossl/tcp-bsd and
had some small differences. It's better to factor it out so bug fixes
get applied to all of them and code is cleaner.
socket/Makefile.am
socket/http.c
socket/pseudossl.c
socket/socket-priv.h [new file with mode: 0644]
socket/socket.c
socket/socks5.c
socket/tcp-bsd.c