diff options
author | Yang Tse <yangsita@gmail.com> | 2012-12-10 17:55:18 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-12-10 17:55:18 +0100 |
commit | e880680fb666f42cbb0cc3457b35c51d23695980 (patch) | |
tree | bc81942ba3f4e0b4575076ed2f8dc3f4d1fa5276 /docs | |
parent | aee540b831484e6bd454bd325e7010a29cfeeeb5 (diff) | |
download | curl-e880680fb666f42cbb0cc3457b35c51d23695980.tar.gz |
examples/simplessl.c: fix compiler warning
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/simplessl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/simplessl.c b/docs/examples/simplessl.c index b77c276e4..0765e1224 100644 --- a/docs/examples/simplessl.c +++ b/docs/examples/simplessl.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2012, 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 @@ -76,7 +76,7 @@ int main(void) curl_easy_setopt(curl, CURLOPT_URL, "HTTPS://your.favourite.ssl.site"); curl_easy_setopt(curl, CURLOPT_WRITEHEADER, headerfile); - while(1) /* do some ugly short cut... */ + for(;;) /* do some ugly short cut... */ { if (pEngine) /* use crypto engine */ { |