Update send.c

Copying in directly.