瀏覽代碼

Revert "bugfix slMessage initialization"

This reverts commit 948626e8d16c62164e9e2c41784656e3ea0b18a9.
Julius Pfrommer 11 年之前
父節點
當前提交
c5e3332632
共有 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 = {-1,UA_NULL};
+	UA_ByteString slMessage = {NULL,0};
 
 	char optval = 1;
 	int sockfd, newsockfd, portno, clilen;