Update do_send.c

updated codebase to better fix #8