forked from cory/tildefriends
Child processes send trace information back to the parent. Also fixed weird double-activation of children.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3729 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -105,7 +105,7 @@ static void _packetstream_on_write(uv_write_t* request, int status)
|
||||
free(request);
|
||||
}
|
||||
|
||||
void tf_packetstream_send(tf_packetstream_t* stream, int packet_type, char* begin, size_t length)
|
||||
void tf_packetstream_send(tf_packetstream_t* stream, int packet_type, const char* begin, size_t length)
|
||||
{
|
||||
size_t buffer_length = sizeof(uv_write_t) + sizeof(packet_type) + sizeof(length) + length;
|
||||
uv_write_t* request = malloc(buffer_length);
|
||||
|
Reference in New Issue
Block a user