|
@@ -122,14 +122,14 @@ void carmakerwork::threadwork()
|
|
|
|
|
|
if(request.mnres() != 0)
|
|
|
{
|
|
|
- snprintf(strlog,256,"Complete workid:%d nres:%lld. uploaded to server.",request.workid(),request.mnres());
|
|
|
+ snprintf(strlog,256,"Complete workid:%lld nres:%d. uploaded to server.",request.workid(),request.mnres());
|
|
|
Log(strlog);
|
|
|
}
|
|
|
|
|
|
if(reply.mnres() == 1)
|
|
|
{
|
|
|
- snprintf(strlog,256,"Get A request workid:%d InputName:%s OutputName:%s CMD:%s InputSize:%d",reply.workid(),
|
|
|
- reply.strinputname().data(),reply.stroutputname().data(),reply.strcmd().data(),reply.data_input().size());
|
|
|
+ snprintf(strlog,256,"Get A request workid:%lld InputName:%s OutputName:%s CMD:%s InputSize:%d",reply.workid(),
|
|
|
+ reply.strinputname().data(),reply.stroutputname().data(),reply.strcmd().data(), static_cast<int>(reply.data_input().size()) );
|
|
|
Log(strlog);
|
|
|
|
|
|
nnowork = 0;
|