diff options
Diffstat (limited to 'src/common.c')
| -rw-r--r-- | src/common.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/common.c b/src/common.c index 234f925..8f141d7 100644 --- a/src/common.c +++ b/src/common.c @@ -366,10 +366,6 @@ print_application_description (const UA_ApplicationDescription *description, (int)description->applicationName.text.length, description->applicationName.text.data); UA_LOG_INFO (UA_Log_Stdout, UA_LOGCATEGORY_APPLICATION, - " Application URI: %.*s", - (int)description->applicationUri.length, - description->applicationUri.data); - UA_LOG_INFO (UA_Log_Stdout, UA_LOGCATEGORY_APPLICATION, " Product URI: %.*s", (int)description->productUri.length, description->productUri.data); UA_LOG_INFO (UA_Log_Stdout, UA_LOGCATEGORY_APPLICATION, " Type: %s", type); @@ -507,8 +503,7 @@ create_unsecure_client_config (UA_ClientConfig *cc, cc->securityMode = UA_MESSAGESECURITYMODE_NONE; UA_String_clear (&cc->securityPolicyUri); - cc->securityPolicyUri = UA_String_fromChars ( - "http://opcfoundation.org/UA/SecurityPolicy#None"); + UA_String_copy (&UA_SECURITY_POLICY_NONE_URI, &cc->securityPolicyUri); if (auth && auth->mode == AUTH_USER) UA_ClientConfig_setAuthenticationUsername (cc, auth->user.username, |
