Fix bug where memcpy could overrun buffer
Replace ZEROBYTES - BOXZEROBYTES with MACBYTES
new_lines should use strncpy, and wrote get_id() to declutter code
cleaned up my changes
Fixed regression.
Merge pull request #275 from nickodell/master

Fix bug where memcpy could overrun buffer; Replace ZEROBYTES - BOXZEROBYTES with MACBYTES
Merge pull request #277 from CharmlessCoin/nTox_fixes

nTox cleanups
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core