Julius Pfrommer hace 9 años
padre
commit
50f407282e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/networklayer_tcp.c

+ 1 - 1
examples/networklayer_tcp.c

@@ -506,7 +506,7 @@ static UA_StatusCode ClientNetworkLayerGetBuffer(UA_Connection *connection, UA_B
     *buf = *(UA_ByteString*)connection->handle;
     return UA_STATUSCODE_GOOD;
 #else
-    return UA_ByteString_newMembers(buf, minSize);
+    return UA_ByteString_newMembers(buf, connection->remoteConf.recvBufferSize);
 #endif
 }