ソースを参照

bugfix slMessage initialization

Leon Urbas 11 年 前
コミット
948626e8d1
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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;