userlibandfileserver/fileserver/sfile/sf_thread.cpp
branchGCC_SURGE
changeset 167 b41fc9c39ca7
parent 31 56f325a607ea
child 221 39b39e1a406e
--- a/userlibandfileserver/fileserver/sfile/sf_thread.cpp	Fri Jun 18 18:06:39 2010 +0100
+++ b/userlibandfileserver/fileserver/sfile/sf_thread.cpp	Sat Jun 19 07:49:33 2010 +0100
@@ -379,7 +379,7 @@
 	TUint id=RThread().Id();
 	if(aIsLock)
 		t.iFSLock.Wait();
-	TBool b = t.iIsAvailable && (!t.iIsSync && t.iId==id || t.iIsSync);
+	TBool b = t.iIsAvailable && ((!t.iIsSync && t.iId==id) || t.iIsSync);
 	if(aIsLock)
 		t.iFSLock.Signal();
 	return(b);