Explorar el Código

redo UA_ByteString slMessage = {NULL,0};

Julius Pfrommer hace 11 años
padre
commit
0140598b12
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/src/opcuaServer.c

+ 1 - 1
examples/src/opcuaServer.c

@@ -57,7 +57,7 @@ void server_run()
 {
 	UA_connection connection;
 
-	UA_ByteString slMessage = {NULL,0};
+        UA_ByteString slMessage = {-1,UA_NULL};
 
 	char optval = 1;
 	int sockfd, newsockfd, portno, clilen;