From 3c08ed4a340f0fd1bcad79c463dc5b3efa92a571 Mon Sep 17 00:00:00 2001 From: Maurice Kalinowski Date: Wed, 9 Apr 2008 19:43:49 +0000 Subject: [PATCH] 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 --- src/kits/media/FileInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/media/FileInterface.cpp b/src/kits/media/FileInterface.cpp index 1ba5e4cf6b..4b30fb0db0 100644 --- a/src/kits/media/FileInterface.cpp +++ b/src/kits/media/FileInterface.cpp @@ -63,7 +63,7 @@ BFileInterface::HandleMessage(int32 message, reply.duration = request->duration; rv = SetRef(ref, request->create, &reply.duration); - reply.duration = request->duration; + request->SendReply(rv, &reply, sizeof(reply)); return B_OK; }