More debugging.
Fix data->buflen.