From: Yang Tse Date: Mon, 10 Dec 2012 16:55:18 +0000 (+0100) Subject: examples/simplessl.c: fix compiler warning X-Git-Tag: upstream/7.37.1~2445 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e880680fb666f42cbb0cc3457b35c51d23695980;p=platform%2Fupstream%2Fcurl.git examples/simplessl.c: fix compiler warning --- diff --git a/docs/examples/simplessl.c b/docs/examples/simplessl.c index b77c276..0765e12 100644 --- a/docs/examples/simplessl.c +++ b/docs/examples/simplessl.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2012, Daniel Stenberg, , 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 */ {