Skip to content

Commit 372b2e6

Browse files
committed
fix comment
1 parent 272cfa7 commit 372b2e6

File tree

3 files changed

+6
-5
lines changed
  • libs
    • client-sdk/include/launchdarkly/client_side/bindings/c/config
    • server-sdk/include/launchdarkly/server_side/bindings/c/config
    • server-sent-events/include/launchdarkly/sse

3 files changed

+6
-5
lines changed

libs/client-sdk/include/launchdarkly/client_side/bindings/c/config/builder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ LDClientHttpPropertiesTlsBuilder_Free(LDClientHttpPropertiesTlsBuilder b);
429429
* use-case calls for it.
430430
*
431431
* @param b Client config builder. Must not be NULL.
432-
* @param skip_verify_peer False to skip verification.
432+
* @param skip_verify_peer True to skip verification.
433433
*/
434434
LD_EXPORT(void)
435435
LDClientHttpPropertiesTlsBuilder_SkipVerifyPeer(

libs/server-sdk/include/launchdarkly/server_side/bindings/c/config/builder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ LDServerHttpPropertiesTlsBuilder_Free(LDServerHttpPropertiesTlsBuilder b);
389389
* use-case calls for it.
390390
*
391391
* @param b Server config builder. Must not be NULL.
392-
* @param skip_verify_peer False to skip verification.
392+
* @param skip_verify_peer True to skip verification.
393393
*/
394394
LD_EXPORT(void)
395395
LDServerHttpPropertiesTlsBuilder_SkipVerifyPeer(

libs/server-sent-events/include/launchdarkly/sse/client.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,10 @@ class Builder {
132132
Builder& errors(ErrorCallback callback);
133133

134134
/**
135-
* If connecting to a TLS endpoint, whether to verify the remote
136-
* peer's certificates.
137-
* @param verify_peer True to verify the peer, false otherwise.
135+
* If connecting to an endpoint with TLS, whether to skip verifying the
136+
* remote peer's certificates. Verification is enabled by default.
137+
*
138+
* @param verify_peer True to skip verification, false to verify.
138139
* @return Reference to this builder.
139140
*/
140141
Builder& skip_verify_peer(bool skip_verify_peer);

0 commit comments

Comments
 (0)