瀏覽代碼

fix build

Stasik0 10 年之前
父節點
當前提交
9789b51d47
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
     }