summaryrefslogtreecommitdiff
path: root/docs/examples/smtp-ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/smtp-ssl.c')
-rw-r--r--docs/examples/smtp-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/smtp-ssl.c b/docs/examples/smtp-ssl.c
index 9a68a7ff9..a774403fc 100644
--- a/docs/examples/smtp-ssl.c
+++ b/docs/examples/smtp-ssl.c
@@ -111,7 +111,7 @@ int main(void)
* they have mentioned in their server certificate's commonName (or
* subjectAltName) fields, libcurl will refuse to connect. You can skip
* this check, but this will make the connection less secure. */
-#ifdef SKIP_HOSTNAME_VERFICATION
+#ifdef SKIP_HOSTNAME_VERIFICATION
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
#endif