Skip to content

Commit

Permalink
Fix server example in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfr committed Apr 23, 2019
1 parent 1c081e0 commit 1ad7b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ int main(int argc, char** argv)

/* Create a server listening on port 4840 */
UA_Server *server = UA_Server_new();
UA_ServerConfig_initDefault(UA_Server_getConfig(server));
UA_ServerConfig_setDefault(UA_Server_getConfig(server));

/* Add a variable node */
/* 1) Define the node attributes */
Expand Down

0 comments on commit 1ad7b99

Please sign in to comment.