Don't reset the duration value after passing it to SetRef as pointed out by Marcus.
Sorry for taking so long to commit this... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24878 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -63,7 +63,7 @@ BFileInterface::HandleMessage(int32 message,
|
|||||||
reply.duration = request->duration;
|
reply.duration = request->duration;
|
||||||
|
|
||||||
rv = SetRef(ref, request->create, &reply.duration);
|
rv = SetRef(ref, request->create, &reply.duration);
|
||||||
reply.duration = request->duration;
|
|
||||||
request->SendReply(rv, &reply, sizeof(reply));
|
request->SendReply(rv, &reply, sizeof(reply));
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user