Commit graph

2 commits

Author SHA1 Message Date
Nicolas Dufresne
23b5926885 Fix cast-function-type warning introduced in GCC 8
This is new warning introduced with GCC 8. This is being fixed by using appropriate function, like g_queue_free_full/g_list_free_full or by casting to GCallback before casting to the target function signature.

Closes: 
2018-06-12 16:57:03 +02:00
Youness Alaoui
cdb7cad96d 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.
2014-05-15 09:44:00 -04:00