diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/lib543.c | 2 | ||||
-rw-r--r-- | tests/libtest/lib583.c | 2 | ||||
-rw-r--r-- | tests/server/tftpd.c | 8 | ||||
-rw-r--r-- | tests/unit/unit1304.c | 2 | ||||
-rw-r--r-- | tests/unit/unit1602.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/tests/libtest/lib543.c b/tests/libtest/lib543.c index 8fec052d2..90aed2193 100644 --- a/tests/libtest/lib543.c +++ b/tests/libtest/lib543.c @@ -43,7 +43,7 @@ int test(char *URL) asize = (int)sizeof(a); - s = curl_easy_escape(easy, (char*)a, asize); + s = curl_easy_escape(easy, (char *)a, asize); if(s) printf("%s\n", s); diff --git a/tests/libtest/lib583.c b/tests/libtest/lib583.c index 23334381b..5b11fab2b 100644 --- a/tests/libtest/lib583.c +++ b/tests/libtest/lib583.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, 2016, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2016, 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 diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c index 07a063829..8a4ed0b19 100644 --- a/tests/server/tftpd.c +++ b/tests/server/tftpd.c @@ -15,7 +15,7 @@ */ /* - * Copyright (c) 1983 Regents of the University of California. + * Copyright (c) 1983, 2016 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1040,10 +1040,10 @@ static int do_tftp(struct testcase *test, struct tftphdr *tp, ssize_t size) #ifdef USE_WINSOCK recvtimeout = sizeof(recvtimeoutbak); getsockopt(peer, SOL_SOCKET, SO_RCVTIMEO, - (char*)&recvtimeoutbak, (int*)&recvtimeout); + (char *)&recvtimeoutbak, (int *)&recvtimeout); recvtimeout = TIMEOUT*1000; setsockopt(peer, SOL_SOCKET, SO_RCVTIMEO, - (const char*)&recvtimeout, sizeof(recvtimeout)); + (const char *)&recvtimeout, sizeof(recvtimeout)); #endif if(tp->th_opcode == opcode_WRQ) @@ -1054,7 +1054,7 @@ static int do_tftp(struct testcase *test, struct tftphdr *tp, ssize_t size) #ifdef USE_WINSOCK recvtimeout = recvtimeoutbak; setsockopt(peer, SOL_SOCKET, SO_RCVTIMEO, - (const char*)&recvtimeout, sizeof(recvtimeout)); + (const char *)&recvtimeout, sizeof(recvtimeout)); #endif return 0; diff --git a/tests/unit/unit1304.c b/tests/unit/unit1304.c index 11bba390f..83375f55d 100644 --- a/tests/unit/unit1304.c +++ b/tests/unit/unit1304.c @@ -48,7 +48,7 @@ static void unit_stop(void) UNITTEST_START int result; - static const char* const filename1 = "log/netrc1304"; + static const char * const filename1 = "log/netrc1304"; memcpy(filename, filename1, strlen(filename1)); /* diff --git a/tests/unit/unit1602.c b/tests/unit/unit1602.c index c67c0a555..5f1ee9f47 100644 --- a/tests/unit/unit1602.c +++ b/tests/unit/unit1602.c @@ -32,7 +32,7 @@ static struct curl_hash hash_static; static void mydtor(void *p) { - int *ptr = (int*)p; + int *ptr = (int *)p; free(ptr); } |