aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/opensslthreadlock.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-07-01 11:43:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-07-01 11:43:12 +0200
commitc00b18d5406375627b98b47e68261ace85d1a581 (patch)
tree2a416a2e5faee56ca0bbb231df4331a1b650edd9 /docs/examples/opensslthreadlock.c
parent4ed8537be62c8b2689d85f73da4362f4dc537df5 (diff)
examples: provide <DESC> sections
Diffstat (limited to 'docs/examples/opensslthreadlock.c')
-rw-r--r--docs/examples/opensslthreadlock.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/examples/opensslthreadlock.c b/docs/examples/opensslthreadlock.c
index ad54f08ea..03ec1f29b 100644
--- a/docs/examples/opensslthreadlock.c
+++ b/docs/examples/opensslthreadlock.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -19,16 +19,17 @@
* KIND, either express or implied.
*
***************************************************************************/
-/* Example source code to show one way to set the necessary OpenSSL locking
- * callbacks if you want to do multi-threaded transfers with HTTPS/FTPS with
- * libcurl built to use OpenSSL.
- *
+/* <DESC>
+ * one way to set the necessary OpenSSL locking callbacks if you want to do
+ * multi-threaded transfers with HTTPS/FTPS with libcurl built to use OpenSSL.
+ * </DESC>
+ */
+/*
* This is not a complete stand-alone example.
*
* Author: Jeremy Brown
*/
-
#include <stdio.h>
#include <pthread.h>
#include <openssl/err.h>