Browse Source

fix build

Stasik0 10 years ago
parent
commit
9789b51d47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/server/ua_services_attribute.c

+ 1 - 1
src/server/ua_services_attribute.c

@@ -297,7 +297,7 @@ void Service_Read(UA_Server *server, UA_Session *session, const UA_ReadRequest *
         return;
     }
 
-    if(request->timestampsToReturn > 3 || request->timestampsToReturn < 0){
+    if(request->timestampsToReturn > 3){
     	response->responseHeader.serviceResult = UA_STATUSCODE_BADTIMESTAMPSTORETURNINVALID;
     	return;
     }