heat-tx: C updates to match the Go version.