X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Flibtest%2Fchkhostname.c;h=79e382b38c219c1fb7a4a75d7b2fe83a27efab92;hb=3e62527ed71a7a362d7ec321e7f026edab35f8e2;hp=02a4eefaa468a79958a644585bf5ba2574034b42;hpb=0a710b32648c435f792f5993fdefa2d96f802580;p=platform%2Fupstream%2Fcurl.git diff --git a/tests/libtest/chkhostname.c b/tests/libtest/chkhostname.c index 02a4eef..79e382b 100644 --- a/tests/libtest/chkhostname.c +++ b/tests/libtest/chkhostname.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2012, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2016, 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 @@ -28,12 +28,12 @@ int main(int argc, char *argv[]) { char buff[HOSTNAME_MAX]; - if (argc != 2) { + if(argc != 2) { printf("Usage: %s EXPECTED_HOSTNAME\n", argv[0]); return 1; } - if (Curl_gethostname(buff, HOSTNAME_MAX)) { + if(Curl_gethostname(buff, HOSTNAME_MAX)) { printf("Curl_gethostname() failed\n"); return 1; }