Fix possible nullptr dereferences in toxav/msi.c
Comment out extra argument to sprintf
Merge branch 'tux3-nullptr-1'
Merge branch 'sprintf-extra-arg-1' of https://github.com/tux3/toxcore into tux3-sprintf-extra-arg-1
Included assert.h for Messenger/DHT.c
Fix scope, ressource leaks in boostrap daemon

Reduce scope of config_setting_t *elem

Fix various leaks of files keys_file and pid_file
Merge branch 'master' of https://github.com/Jman012/toxcore into Jman012-master
Made av public header C++-enabled
Removed IRC references
Preparation work to make onion packets go through TCP.
Merge branch 'av-fix' of https://github.com/nurupo/InsertProjectNameHere into nurupo-av-fix
dns3_test now automatically does the DNS request.

tox_decrypt_dns3_TXT no longer needs id_record to be null terminated.
Merge branch 'bootstrap_daemon-leaks-1' of https://github.com/tux3/toxcore into tux3-bootstrap_daemon-leaks-1
Fixed bug when adjusting queue size
Remove some immediatly overwritten writes

Fix local variable being modified just before it goes out of scope

When memcpy-ing in a buffer, only memset the part of the buffer not modified by the memcpy, not the whole buffer

Also reorder the memset after the memcpy, to potentially avoid cache misses (NOT profiled)
Fix exceptional file leak in other/fun/sign.c
Fix redundant assignment in TCP_server.c
Merge branch 'mannol1-master'
Merge branch 'perf-rebase' of https://github.com/tux3/toxcore
Merge branch 'leak-rebase' of https://github.com/tux3/toxcore